| java.lang.Object org.jvnet.substance.utils.icon.TransitionAwareIcon
TransitionAwareIcon | public class TransitionAwareIcon implements Icon(Code) | | Icon with transition-aware capabilities. Has a delegate that does the actual
painting based on the transition themes. This class is used heavily on
Substance-provided icons, such as title pane button icons, arrow icons on
scroll bars and combos etc.
author: Kirill Grouchnikov |
Inner Class :public static interface Delegate | |
TransitionAwareIcon | public TransitionAwareIcon(AbstractButton button, Delegate delegate)(Code) | | Creates a new transition-aware icon.
Parameters: button - Associated button. Parameters: delegate - Delegate to compute the actual icons. |
TransitionAwareIcon | public TransitionAwareIcon(JComponent comp, ButtonModel model, Delegate delegate)(Code) | | Creates a new transition-aware icon.
Parameters: comp - Associated component. Parameters: model - Associated model. Parameters: delegate - Delegate to compute the actual icons. |
getIconHeight | public int getIconHeight()(Code) | | |
getIconWidth | public int getIconWidth()(Code) | | |
|
|