本文整理汇总了Java中javax.swing.plaf.BorderUIResource.CompoundBorderUIResource类的典型用法代码示例。如果您正苦于以下问题:Java CompoundBorderUIResource类的具体用法?Java CompoundBorderUIResource怎么用?Java CompoundBorderUIResource使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CompoundBorderUIResource类属于javax.swing.plaf.BorderUIResource包,在下文中一共展示了CompoundBorderUIResource类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getTextFieldBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getTextFieldBorder()
/* 61: */ {
/* 62:122 */ if (textFieldBorder == null) {
/* 63:123 */ textFieldBorder = new BorderUIResource.CompoundBorderUIResource(new XPTextFieldBorder(null), new BasicBorders.MarginBorder());
/* 64: */ }
/* 65:127 */ return textFieldBorder;
/* 66: */ }
示例2: getEtchedBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getEtchedBorder()
/* 65: */ {
/* 66:130 */ if (etchedBorder == null) {
/* 67:131 */ etchedBorder = new BorderUIResource.CompoundBorderUIResource(new EtchedBorder(null), new BasicBorders.MarginBorder());
/* 68: */ }
/* 69:135 */ return etchedBorder;
/* 70: */ }
示例3: getMenuBarHeaderBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getMenuBarHeaderBorder()
/* 86: */ {
/* 87:166 */ if (menuBarHeaderBorder == null) {
/* 88:167 */ menuBarHeaderBorder = new BorderUIResource.CompoundBorderUIResource(new MenuBarHeaderBorder(null), new BasicBorders.MarginBorder());
/* 89: */ }
/* 90:171 */ return menuBarHeaderBorder;
/* 91: */ }
示例4: getMenuBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getMenuBorder()
/* 94: */ {
/* 95:180 */ if (menuBorder == null) {
/* 96:181 */ menuBorder = new BorderUIResource.CompoundBorderUIResource(new MenuBorder(null), new BasicBorders.MarginBorder());
/* 97: */ }
/* 98:185 */ return menuBorder;
/* 99: */ }
示例5: getSeparatorBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getSeparatorBorder()
/* 147: */ {
/* 148:268 */ if (separatorBorder == null) {
/* 149:269 */ separatorBorder = new BorderUIResource.CompoundBorderUIResource(new SeparatorBorder(null), new BasicBorders.MarginBorder());
/* 150: */ }
/* 151:273 */ return separatorBorder;
/* 152: */ }
示例6: getTextFieldBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getTextFieldBorder()
/* 155: */ {
/* 156:282 */ if (textFieldBorder == null) {
/* 157:283 */ textFieldBorder = new BorderUIResource.CompoundBorderUIResource(new TextFieldBorder(null), new BasicBorders.MarginBorder());
/* 158: */ }
/* 159:287 */ return textFieldBorder;
/* 160: */ }
示例7: getToolBarHeaderBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getToolBarHeaderBorder()
/* 184: */ {
/* 185:332 */ if (toolBarHeaderBorder == null) {
/* 186:333 */ toolBarHeaderBorder = new BorderUIResource.CompoundBorderUIResource(new ToolBarHeaderBorder(null), new BasicBorders.MarginBorder());
/* 187: */ }
/* 188:337 */ return toolBarHeaderBorder;
/* 189: */ }
示例8: getObject
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
protected CompoundBorderUIResource getObject() {
return new CompoundBorderUIResource(null, new CompoundBorderUIResource(null, null));
}
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:4,代码来源:javax_swing_plaf_BorderUIResource_CompoundBorderUIResource.java
示例9: getAnotherObject
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
protected CompoundBorderUIResource getAnotherObject() {
return null; // TODO: could not update property
// return new CompoundBorderUIResource(null, null);
}
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:5,代码来源:javax_swing_plaf_BorderUIResource_CompoundBorderUIResource.java
示例10: getButtonBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getButtonBorder(Insets buttonMargin)
/* 32: */ {
/* 33: 79 */ return new BorderUIResource.CompoundBorderUIResource(new XPButtonBorder(buttonMargin), new BasicBorders.MarginBorder());
/* 34: */ }
示例11: getToggleButtonBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getToggleButtonBorder(Insets buttonMargin)
/* 69: */ {
/* 70:134 */ return new BorderUIResource.CompoundBorderUIResource(new XPButtonBorder(buttonMargin), new BasicBorders.MarginBorder());
/* 71: */ }
示例12: getButtonBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getButtonBorder(Insets buttonMargin)
/* 44: */ {
/* 45: 90 */ return new BorderUIResource.CompoundBorderUIResource(new ButtonBorder(buttonMargin), new BasicBorders.MarginBorder());
/* 46: */ }
示例13: getToggleButtonBorder
import javax.swing.plaf.BorderUIResource.CompoundBorderUIResource; //导入依赖的package包/类
static Border getToggleButtonBorder(Insets buttonMargin)
/* 179: */ {
/* 180:320 */ return new BorderUIResource.CompoundBorderUIResource(new ToggleButtonBorder(buttonMargin, null), new BasicBorders.MarginBorder());
/* 181: */ }