|
|
@ -46,6 +46,10 @@ public class XCardSwitchButton extends XButton { |
|
|
|
private XWCardTagLayout tagLayout; |
|
|
|
private XWCardTagLayout tagLayout; |
|
|
|
|
|
|
|
|
|
|
|
private static final int LEFT_GAP = 16; |
|
|
|
private static final int LEFT_GAP = 16; |
|
|
|
|
|
|
|
private static Icon MOUSE_COLSE = BaseUtils.readIcon("/com/fr/design/images/buttonicon/close_icon.png"); |
|
|
|
|
|
|
|
private static String COLORBACKGROUNDTYPE = "ColorBackground"; |
|
|
|
|
|
|
|
private static String DEFAULTTYPE = "default"; |
|
|
|
|
|
|
|
|
|
|
|
public static final Color NORMAL_GRAL = new Color(236,236,236); |
|
|
|
public static final Color NORMAL_GRAL = new Color(236,236,236); |
|
|
|
public static final Color CHOOSED_GRAL = new Color(222,222,222); |
|
|
|
public static final Color CHOOSED_GRAL = new Color(222,222,222); |
|
|
|
|
|
|
|
|
|
|
@ -62,11 +66,6 @@ public class XCardSwitchButton extends XButton { |
|
|
|
private boolean isCustomStyle; |
|
|
|
private boolean isCustomStyle; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Icon MOUSE_COLSE = BaseUtils.readIcon("/com/fr/design/images/buttonicon/close_icon.png"); |
|
|
|
|
|
|
|
private static String COLORBACKGROUNDTYPE = "ColorBackground"; |
|
|
|
|
|
|
|
private static String DEFAULTTYPE = "default"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Icon closeIcon = MOUSE_COLSE; |
|
|
|
private Icon closeIcon = MOUSE_COLSE; |
|
|
|
|
|
|
|
|
|
|
|
public XWCardTagLayout getTagLayout() { |
|
|
|
public XWCardTagLayout getTagLayout() { |
|
|
|