org.jvnet.lafwidget.animation
Class FadeTracker.ComponentId
java.lang.Object
org.jvnet.lafwidget.animation.FadeTracker.ComponentId
- Enclosing class:
- FadeTracker
protected static class FadeTracker.ComponentId
- extends java.lang.Object
Information on a single component under fade.
- Author:
- Kirill Grouchnikov
Field Summary |
java.awt.Component |
component
UI component itself. |
java.lang.Comparable |
subID
ID to distinguish between different sub-components of the UI
component. |
Constructor Summary |
FadeTracker.ComponentId(java.awt.Component component,
java.lang.Comparable subID)
Creates a new component ID. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
component
public java.awt.Component component
- UI component itself.
subID
public java.lang.Comparable subID
- ID to distinguish between different sub-components of the UI
component. For example, the tabbed pane uses this field to make
tab-specific animations.
FadeTracker.ComponentId
public FadeTracker.ComponentId(java.awt.Component component,
java.lang.Comparable subID)
- Creates a new component ID.
- Parameters:
component
- UI component itself.subID
- ID to distinguish between different sub-components of the
UI component.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object