protected void createDefaultTheme() { if (myTheme == null) { myTheme = new LunaDefaultTheme(); } setTheme(myTheme); }
public static synchronized LunaIconFactory getInstance() { if (instance == null) { instance = new LunaIconFactory(); } return instance; }
public static Border getTextBorder() { if (textFieldBorder == null) { textFieldBorder = new TextFieldBorder(); } return textFieldBorder; }
public LunaDefaultTheme() { super(); // Setup theme with defaults setUpColor(); // Overwrite defaults with user props loadProperties(); // Setup the color arrays setUpColorArrs(); }
public static Border getTableScrollPaneBorder() { if (tableScrollPaneBorder == null) { tableScrollPaneBorder = new ScrollPaneBorder(true); } return tableScrollPaneBorder; }
public static Border getInternalFrameBorder() { if (internalFrameBorder == null) { internalFrameBorder = new InternalFrameBorder(); } return internalFrameBorder; }
public Insets getBorderInsets(Component c, Insets borderInsets) { Insets ins = getBorderInsets(c); borderInsets.left = ins.left; borderInsets.top = ins.top; borderInsets.right = ins.right; borderInsets.bottom = ins.bottom; return borderInsets; } } // class ScrollPaneBorder
protected JComponent createNorthPane(JInternalFrame w) { titlePane = new LunaInternalFrameTitlePane(w); return titlePane; } }
public static synchronized LunaBorderFactory getInstance() { if (instance == null) { instance = new LunaBorderFactory(); } return instance; }
public static Border getRolloverToolButtonBorder() { if (rolloverToolButtonBorder == null) { rolloverToolButtonBorder = new RolloverToolButtonBorder(); } return rolloverToolButtonBorder; }
public static Border getTableHeaderBorder() { if (tableHeaderBorder == null) { tableHeaderBorder = new TableHeaderBorder(); } return tableHeaderBorder; }
public Border getDesktopIconBorder() { return LunaBorders.getDesktopIconBorder(); } }
public Icon getThumbVerIconRollover() { return LunaIcons.getThumbVerIconRollover(); } }
public JComponent createTitlePane(JRootPane root) { return new LunaTitlePane(root, this); } }
public static Border getComboBoxBorder() { if (comboBoxBorder == null) { comboBoxBorder = new ComboBoxBorder(); } return comboBoxBorder; }
public static Border getButtonBorder() { if (buttonBorder == null) { buttonBorder = new ButtonBorder(); } return buttonBorder; }
public Border getTextFieldBorder() { return LunaBorders.getTextFieldBorder(); }
public Border getTableScrollPaneBorder() { return LunaBorders.getTableScrollPaneBorder(); }
public Border getPopupMenuBorder() { return LunaBorders.getPopupMenuBorder(); }
public static Border getScrollPaneBorder() { if (scrollPaneBorder == null) { scrollPaneBorder = new ScrollPaneBorder(false); } return scrollPaneBorder; }