当前位置: 首页>>代码示例>>Java>>正文


Java BorderFactory.createCompositeBorder方法代码示例

本文整理汇总了Java中org.netbeans.api.visual.border.BorderFactory.createCompositeBorder方法的典型用法代码示例。如果您正苦于以下问题:Java BorderFactory.createCompositeBorder方法的具体用法?Java BorderFactory.createCompositeBorder怎么用?Java BorderFactory.createCompositeBorder使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.netbeans.api.visual.border.BorderFactory的用法示例。


在下文中一共展示了BorderFactory.createCompositeBorder方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: PNBColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PNBColorScheme() {
    COLOR_NORMAL = new Color(0xBACDF0);//new Color(160, 180, 210);
    COLOR_HIGHLIGHTED = new Color(0x5B67B0);
    COLOR60_SELECT = new Color(0xFF8500);
    COLOR60_HOVER = new Color(0x5B67B0);
    COLOR60_HOVER_BACKGROUND = new Color(0xB0C3E1);

    COLOR1 = new Color(221, 235, 246);
    COLOR2 = new Color(255, 255, 255);
    COLOR3 = new Color(214, 235, 255);
    COLOR4 = new Color(241, 249, 253);
    COLOR5 = new Color(255, 255, 255);

    BORDER60 = PFactory.createPNodeBorder(COLOR_NORMAL, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    BORDER60_SELECT = PFactory.createPNodeBorder(COLOR60_SELECT, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    BORDER60_HOVER = PFactory.createPNodeBorder(COLOR60_HOVER, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    BORDER60_PIN_SELECT = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, COLOR60_SELECT), BorderFactory.createLineBorder(2, 7, 2, 7, COLOR60_SELECT));

    BORDER_CATEGORY_BACKGROUND = new Color(0xCDDDF8);
    BORDER_PIN = BorderFactory.createOpaqueBorder(2, 8, 2, 8);

}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:24,代码来源:PNBColorScheme.java

示例2: initWidget

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private void initWidget(JRLibScene scene) {
    setLayout(LayoutFactory.createVerticalFlowLayout());
    //setMinimumSize(MIN_SIZE);
    
    header = createHeaderWidget(scene);
    addChild(header);
    
    pinSeparator = new SeparatorWidget(scene, SeparatorWidget.Orientation.HORIZONTAL);
    addChild(pinSeparator);
    
    for(JRLibPin pin : node.getPins())
        addChild(pin.createPinWidget(scene, ui));
    
    ui.initUI(this);
    border = getBorder();
    resizeBorder = BorderFactory.createCompositeBorder(
            BorderFactory.createResizeBorder(8),
            border
            );
    border = BorderFactory.createCompositeBorder(
            BorderFactory.createEmptyBorder(8),
            border
            );
    setBorder(border);
}
 
开发者ID:Depter,项目名称:JRLib,代码行数:26,代码来源:JRLibNodeWidget.java

示例3: PWoodColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PWoodColorScheme() {
    CONST = new Color(98, 168, 217);

    WIDGET_BORDER_COLOR = new Color(63, 54, 49);//DEFAULT BORDER
    WIDGET_SELECT_BORDER_COLOR = new Color(50, 54, 39);//SELECTED BORDER
    WIDGET_HOVER_BORDER_COLOR = new Color(87, 74, 68);//HOVER BORDER

    COLOR_HIGHLIGHTED = new Color(222, 0, 0);//(46,139,204);

    WIDGET_HOVER_BACKGROUND = new Color(87, 74, 68);//HOVER BackGround//(98, 168, 217);
    WIDGET_SELECT_BACKGROUND = new Color(50, 54, 39);//HOVER BackGround//(98, 168, 217);
    WIDGET_BACKGROUND = new Color(63, 54, 49);// BackGround//(98, 168, 217);

    WIDGET_HOVER_LBACKGROUND = new Color(92, 79, 71);//HOVER BackGround//(98, 168, 217);
    WIDGET_SELECT_LBACKGROUND = new Color(60, 51, 47);//HOVER BackGround//(98, 168, 217);
    WIDGET_LBACKGROUND = new Color(79, 68, 62);// BackGround//(98, 168, 217);

    PIN_WIDGET_HOVER_BACKGROUND = new Color(218, 148, 81);//HOVER BackGround//(98, 168, 217);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(236, 170, 110);// BackGround//(98, 168, 217);

    PIN_WIDGET_TEXT = new Color(187, 175, 160);

    COLOR1 = new Color(89, 73, 64);
    COLOR2 = new Color(79, 63, 54);
    COLOR3 = new Color(109, 93, 84);
    COLOR4 = new Color(89, 73, 64);
    COLOR5 = new Color(109, 93, 84);

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(50, 52, 38);//(94, 156, 210);
    PIN_SEPERATOR_WIDGET_FOREGROUND = Color.WHITE;
    BORDER_PIN = BorderFactory.createOpaqueBorder(2, 8, 2, 8);

    WIDGET_BORDER = new ShadowBorder(new Color(255, 255, 255), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(new Color(230, 230, 230), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(new Color(200, 200, 200), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, WIDGET_HOVER_BORDER_COLOR));

}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:40,代码来源:PWoodColorScheme.java

示例4: PMacColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PMacColorScheme() {
    SCENE_BACKGROUND = new TexturePaint(ImageUtil.toBufferedImage(ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/BACKGROUND.jpg")), new Rectangle(0, 0, 3812, 2362));
    OPAQUE_BORDER = BorderFactory.createOpaqueBorder(2, 8, 2, 8);
    BUTTON_G = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/BUTTON_G.png");
    BUTTON_Y = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/BUTTON_Y.png");
    BUTTON_W = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/BUTTON_W.png");
    COLOR1 = new Color(249, 249, 249);
    COLOR2 = new Color(237, 237, 237);
    COLOR3 = new Color(227, 227, 227);
    COLOR4 = new Color(249, 249, 249);
    COLOR5 = new Color(237, 237, 237);

    WIDGET_BORDER_COLOR = new Color(245, 245, 245);
    WIDGET_SELECT_BORDER_COLOR = new Color(180, 180, 180);
    WIDGET_HOVER_BORDER_COLOR = new Color(200, 200, 200);

    WIDGET_HOVER_BACKGROUND = new TexturePaint(ImageUtil.toBufferedImage(ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/MAC_TOOLBAR_LIGHT.png")), new Rectangle(0, 0, 658, 61));
    WIDGET_SELECT_BACKGROUND = new TexturePaint(ImageUtil.toBufferedImage(ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/MAC_TOOLBAR_DARK.png")), new Rectangle(0, 0, 658, 37));
    WIDGET_BACKGROUND = new TexturePaint(ImageUtil.toBufferedImage(ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/mac/MAC_TOOLBAR_AVG.png")), new Rectangle(0, 0, 660, 48));

    WIDGET_BORDER = new ShadowBorder(WIDGET_BORDER_COLOR, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(WIDGET_SELECT_BORDER_COLOR, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(WIDGET_HOVER_BORDER_COLOR, 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    EDGE_WIDGET_SELECT_COLOR = new Color(235, 235, 235);
    EDGE_WIDGET_HOVER_COLOR = new Color(255, 255, 255);
    EDGE_WIDGET_COLOR = new Color(250, 250, 250);

    PIN_WIDGET_BACKGROUND = new Color(120, 138, 176);
    PIN_WIDGET_LBACKGROUND = new Color(138, 154, 190);
    PIN_WIDGET_HOVER_BACKGROUND = new Color(120, 138, 176);
    PIN_WIDGET_HOVER_LBACKGROUND = new Color(138, 154, 190);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(110, 128, 166);
    PIN_WIDGET_SELECT_LBACKGROUND = new Color(128, 144, 180);

    PIN_WIDGET_HOVER_TEXT_COLOR = Color.WHITE;
    PIN_WIDGET_TEXT_COLOR = new Color(34, 34, 34);
    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, WIDGET_HOVER_BORDER_COLOR));

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(200, 200, 200);
    PIN_SEPERATOR_WIDGET_FOREGROUND = new Color(34, 34, 34);
}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:43,代码来源:PMacColorScheme.java

示例5: PDarkColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PDarkColorScheme() {
    SCENE_BACKGROUND = new Color(40,40,40);
    OPAQUE_BORDER = BorderFactory.createOpaqueBorder(2, 8, 2, 8);
    BUTTON_E = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/expand.png");
    BUTTON_C = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/collapse.png");
    COLOR1 = new Color(221, 235, 246);
    COLOR2 = new Color(255, 255, 255);
    COLOR3 = new Color(214, 235, 255);
    COLOR4 = new Color(255, 255, 255);
    COLOR5 = new Color(241, 249, 253);

    WIDGET_HOVER_BACKGROUND = new Color(66, 66, 66);
    WIDGET_SELECT_BACKGROUND = new Color(77, 77, 77);
    WIDGET_BACKGROUND = new Color(99, 99, 99);

    WIDGET_HOVER_LBACKGROUND = new Color(55, 55, 55);
    WIDGET_SELECT_LBACKGROUND = new Color(44, 44, 44);
    WIDGET_LBACKGROUND = new Color(66, 66, 66);

    WIDGET_BORDER = new ShadowBorder(new Color(155, 155, 155), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(new Color(180, 180, 180), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(new Color(100, 100, 100), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    WIDGET_TEXT_COLOR = new Color(230, 230, 230);
    EDGE_WIDGET_COLOR = new Color(144, 144, 144);
    EDGE_WIDGET_SELECT_COLOR = new Color(111, 111, 111);
    EDGE_WIDGET_HOVER_COLOR = new Color(122, 122, 122);

    PIN_WIDGET_BACKGROUND = new Color(180, 180, 180);
    PIN_WIDGET_HOVER_BACKGROUND = new Color(180, 180, 180);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(175, 175, 175);
    PIN_WIDGET_HOVER_LBACKGROUND = new Color(175, 175, 175);
    PIN_WIDGET_SELECT_LBACKGROUND = new Color(180, 180, 180);

    PIN_WIDGET_BORDER_COLOR = new Color(168, 168, 168);
    PIN_WIDGET_SELECT_BORDER_COLOR = new Color(94, 94, 94);
    PIN_WIDGET_HOVER_BORDER_COLOR = new Color(139, 139, 139);

    
    PIN_WIDGET_TEXT_COLOR = new Color(40 ,40, 40);
    PIN_WIDGET_HOVER_TEXT_COLOR = new Color(70, 70, 70);
    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, PIN_WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, PIN_WIDGET_HOVER_BORDER_COLOR));

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(133, 133, 133);
    PIN_SEPERATOR_WIDGET_FOREGROUND = Color.WHITE;
}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:47,代码来源:PDarkColorScheme.java

示例6: PLightColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PLightColorScheme() {
    SCENE_BACKGROUND = new Color(255,255,255);
    OPAQUE_BORDER = BorderFactory.createOpaqueBorder(2, 8, 2, 8);
    BUTTON_E = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/expand.png");
    BUTTON_C = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/collapse.png");
    COLOR1 = new Color(221, 235, 246);
    COLOR2 = new Color(255, 255, 255);
    COLOR3 = new Color(214, 235, 255);
    COLOR4 = new Color(255, 255, 255);
    COLOR5 = new Color(241, 249, 253);

    WIDGET_BORDER_COLOR = new Color(168, 168, 168);
    WIDGET_SELECT_BORDER_COLOR = new Color(94, 94, 94);
    WIDGET_HOVER_BORDER_COLOR = new Color(139, 139, 139);

    WIDGET_HOVER_BACKGROUND = new Color(66, 66, 66);
    WIDGET_SELECT_BACKGROUND = new Color(77, 77, 77);
    WIDGET_BACKGROUND = new Color(99, 99, 99);

    WIDGET_HOVER_LBACKGROUND = new Color(55, 55, 55);
    WIDGET_SELECT_LBACKGROUND = new Color(44, 44, 44);
    WIDGET_LBACKGROUND = new Color(66, 66, 66);

    WIDGET_BORDER = new ShadowBorder(new Color(213, 213, 213), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(new Color(200, 200, 200), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(new Color(180, 180, 180), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    WIDGET_TEXT_COLOR = new Color(230, 230, 230);
    EDGE_WIDGET_COLOR = new Color(144, 144, 144);
    EDGE_WIDGET_SELECT_COLOR = new Color(111, 111, 111);
    EDGE_WIDGET_HOVER_COLOR = new Color(122, 122, 122);

    PIN_WIDGET_BACKGROUND = new Color(180, 180, 180);
    PIN_WIDGET_HOVER_BACKGROUND = new Color(180, 180, 180);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(175, 175, 175);
    PIN_WIDGET_HOVER_LBACKGROUND = new Color(175, 175, 175);
    PIN_WIDGET_SELECT_LBACKGROUND = new Color(180, 180, 180);

    PIN_WIDGET_TEXT_COLOR = new Color(40 ,40, 40);
    PIN_WIDGET_HOVER_TEXT_COLOR = new Color(70, 70, 70);
    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, WIDGET_HOVER_BORDER_COLOR));

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(133, 133, 133);
    PIN_SEPERATOR_WIDGET_FOREGROUND = Color.WHITE;
}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:46,代码来源:PLightColorScheme.java

示例7: PMetroColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private PMetroColorScheme() {
    SCENE_BACKGROUND = Color.white;
    OPAQUE_BORDER = BorderFactory.createOpaqueBorder(2, 8, 2, 8);
    BUTTON_E = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/expand.png");
    BUTTON_C = ImageUtilities.loadImage("org/netbeans/modeler/widget/theme/metro/collapse.png");
    COLOR1 = new Color(221, 235, 246);
    COLOR2 = new Color(255, 255, 255);
    COLOR3 = new Color(214, 235, 255);
    COLOR4 = new Color(255, 255, 255);
    COLOR5 = new Color(241, 249, 253);

    PIN_WIDGET_BORDER_COLOR = new Color(98, 168, 217);
    PIN_WIDGET_SELECT_BORDER_COLOR = new Color(40, 94, 142);
    PIN_WIDGET_HOVER_BORDER_COLOR = new Color(46, 139, 204);

    WIDGET_HOVER_BACKGROUND = new Color(46, 139, 204);
    WIDGET_SELECT_BACKGROUND = new Color(36, 119, 174);
    WIDGET_BACKGROUND = new Color(98, 168, 217);

    WIDGET_HOVER_LBACKGROUND = new Color(56, 154, 219);
    WIDGET_SELECT_LBACKGROUND = new Color(56, 149, 204);
    WIDGET_LBACKGROUND = new Color(108, 178, 227);

    WIDGET_BORDER = new ShadowBorder(new Color(255, 255, 255), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(new Color(180, 180, 180), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(new Color(200, 200, 200), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    EDGE_WIDGET_COLOR = new Color(98, 168, 217);
    EDGE_WIDGET_SELECT_COLOR = new Color(40, 94, 142);
    EDGE_WIDGET_HOVER_COLOR = new Color(46, 139, 204);

    PIN_WIDGET_BACKGROUND = new Color(98, 168, 217);
    PIN_WIDGET_HOVER_BACKGROUND = new Color(98, 168, 217);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(118, 188, 237);
    PIN_WIDGET_HOVER_LBACKGROUND = new Color(118, 188, 237);
    PIN_WIDGET_SELECT_LBACKGROUND = new Color(98, 168, 217);

    PIN_WIDGET_TEXT_COLOR = new Color(36, 111, 159);
    PIN_WIDGET_HOVER_TEXT_COLOR = Color.white;
    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, PIN_WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, PIN_WIDGET_HOVER_BORDER_COLOR));

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(170, 208, 234);
    PIN_SEPERATOR_WIDGET_FOREGROUND = Color.WHITE;
}
 
开发者ID:jeddict,项目名称:NBModeler,代码行数:45,代码来源:PMetroColorScheme.java

示例8: DBColorScheme

import org.netbeans.api.visual.border.BorderFactory; //导入方法依赖的package包/类
private DBColorScheme() {
    SCENE_BACKGROUND = Color.white;//getBackgroundPaint();//Color.white;

    OPAQUE_BORDER = BorderFactory.createOpaqueBorder(2, 8, 2, 8);
    BUTTON_E = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/expand_u.png");
    BUTTON_C = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/collapse_u.png");
    BUTTON_E_F = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/expand_f.png");
    BUTTON_C_F = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/collapse_f.png");
    BUTTON_E_H = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/expand_h.png");
    BUTTON_C_H = ImageUtilities.loadImage("org/netbeans/db/modeler/resource/image/theme/collapse_h.png");

    COLOR1 = new Color(221, 235, 246);
    COLOR2 = new Color(255, 255, 255);
    COLOR3 = new Color(214, 235, 255);
    COLOR4 = new Color(255, 255, 255);
    COLOR5 = new Color(241, 249, 253);

    WIDGET_BORDER_COLOR = new Color(80, 78, 71);
    WIDGET_SELECT_BORDER_COLOR = new Color(36, 35, 32);
    WIDGET_HOVER_BORDER_COLOR = new Color(66, 65, 62);

    WIDGET_HOVER_BACKGROUND = new Color(66, 65, 62);
    WIDGET_SELECT_BACKGROUND = new Color(56, 55, 52);
    WIDGET_BACKGROUND = new Color(80, 78, 71);

    WIDGET_HOVER_LBACKGROUND = new Color(60, 59, 56);
    WIDGET_SELECT_LBACKGROUND = new Color(50, 49, 46);
    WIDGET_LBACKGROUND = new Color(63, 62, 57);

    WIDGET_BORDER = new ShadowBorder(new Color(230, 230, 230, 230), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_SELECT_BORDER = new ShadowBorder(new Color(130, 130, 130, 230), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);
    WIDGET_HOVER_BORDER = new ShadowBorder(new Color(200, 200, 200, 150), 2, COLOR1, COLOR2, COLOR3, COLOR4, COLOR5);

    EDGE_WIDGET_COLOR = new Color(156, 156, 156);
    EDGE_WIDGET_SELECT_COLOR = new Color(136, 136, 136);
    EDGE_WIDGET_HOVER_COLOR = new Color(146, 146, 146);

    PIN_WIDGET_BACKGROUND = new Color(231, 229, 228);
    PIN_WIDGET_LBACKGROUND = new Color(231, 229, 228);
    PIN_WIDGET_HOVER_BACKGROUND = new Color(211, 219, 218);
    PIN_WIDGET_HOVER_LBACKGROUND = new Color(211, 219, 218);
    PIN_WIDGET_SELECT_BACKGROUND = new Color(235, 112, 62);
    PIN_WIDGET_SELECT_LBACKGROUND = new Color(246, 129, 82);

    PIN_WIDGET_TEXT_COLOR = new Color(35, 35, 35);
    PIN_WIDGET_HOVER_TEXT_COLOR = new Color(40, 40, 40);
    PIN_WIDGET_SELECT_TEXT_COLOR = Color.WHITE;
    PIN_WIDGET_SELECT_BORDER = BorderFactory.createCompositeBorder(BorderFactory.createLineBorder(0, 1, 0, 1, WIDGET_BORDER_COLOR), BorderFactory.createLineBorder(2, 3, 2, 3, WIDGET_HOVER_BORDER_COLOR));

    PIN_SEPERATOR_WIDGET_BACKGROUND = new Color(136, 136, 136);
    PIN_SEPERATOR_WIDGET_FOREGROUND = Color.WHITE;
}
 
开发者ID:jeddict,项目名称:jeddict,代码行数:53,代码来源:DBColorScheme.java


注:本文中的org.netbeans.api.visual.border.BorderFactory.createCompositeBorder方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。