edu.wisc.ssec.mcidasv.ui
Class DraggableTabbedPane.TabButton
java.lang.Object
edu.wisc.ssec.mcidasv.ui.DraggableTabbedPane.TabButton
- All Implemented Interfaces:
- Icon
- Enclosing class:
- DraggableTabbedPane
public static class DraggableTabbedPane.TabButton
- extends Object
- implements Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iconPaths
private static final Map<DraggableTabbedPane.TabButton.ButtonState,String> iconPaths
currentState
private DraggableTabbedPane.TabButton.ButtonState currentState
iconWidth
private int iconWidth
iconHeight
private int iconHeight
posX
private int posX
posY
private int posY
DraggableTabbedPane.TabButton
public DraggableTabbedPane.TabButton()
getStateIcon
public static Icon getStateIcon(DraggableTabbedPane.TabButton.ButtonState state)
setStateIcon
public static void setStateIcon(DraggableTabbedPane.TabButton.ButtonState state,
String path)
getStateIconPath
public static String getStateIconPath(DraggableTabbedPane.TabButton.ButtonState state)
setState
public void setState(DraggableTabbedPane.TabButton.ButtonState state)
getState
public DraggableTabbedPane.TabButton.ButtonState getState()
getIcon
public Icon getIcon()
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getBounds
public Rectangle getBounds()