org.jvnet.lafwidget.animation
Class FadeTracker.ComponentId

java.lang.Object
  extended by 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 id
          ID to distinguish between different sub-components of the UI component.
 
Constructor Summary
FadeTracker.ComponentId(java.awt.Component component, java.lang.Comparable id)
          Creates a new component ID.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

public java.awt.Component component
UI component itself.


id

public java.lang.Comparable id
ID to distinguish between different sub-components of the UI component. For example, the tabbed pane uses this field to make tab-specific animations.

Constructor Detail

FadeTracker.ComponentId

public FadeTracker.ComponentId(java.awt.Component component,
                               java.lang.Comparable id)
Creates a new component ID.

Parameters:
component - UI component itself.
id - ID to distinguish between different sub-components of the UI component.
Method Detail

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