org.dishevelled.iconbundle.impl
Class IconBundleKey

java.lang.Object
  extended by org.dishevelled.iconbundle.impl.IconBundleKey

final class IconBundleKey
extends Object

A compound key of icon text direction, icon state, and icon size.

Version:
$Revision: 974 $ $Date: 2011-01-04 21:40:23 -0600 (Tue, 04 Jan 2011) $
Author:
Michael Heuer

Constructor Summary
IconBundleKey(IconTextDirection direction, IconState state, IconSize size)
          Create a new compound key with the specified icon text direction, icon state, and icon size.
 
Method Summary
 boolean equals(Object o)
          
 IconTextDirection getDirection()
          Return the icon text direction of this key.
 IconSize getSize()
          Return the icon size of this key.
 IconState getState()
          Return the icon state of this key.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IconBundleKey

public IconBundleKey(IconTextDirection direction,
                     IconState state,
                     IconSize size)
Create a new compound key with the specified icon text direction, icon state, and icon size.

Parameters:
direction - icon text direction, must not be null
state - icon state, must not be null
size - icon size, must not be null
Method Detail

getDirection

public IconTextDirection getDirection()
Return the icon text direction of this key.

Returns:
the icon text direction

getSize

public IconSize getSize()
Return the icon size of this key.

Returns:
the icon size

getState

public IconState getState()
Return the icon state of this key.

Returns:
the icon state

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright (c) 2003-2011 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).