org.apache.myfaces.trinidadinternal.ui.laf.base
Class IconKey
java.lang.Object
org.apache.myfaces.trinidadinternal.ui.laf.base.IconKey
public final class IconKey
- extends java.lang.Object
The key used to look up an icon. Passed to a LafIconProvider to
retrieve the proper icon for a given look and feel. Each laf has
its own array of icons, but the indices into these arrays
are the same across all lafs. For example even though the
error icon is different in 2 lafs, its array index is the
same for those 2 lafs. The index is retrieved from the IconKey.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/IconKey.java#0 $) $Date: 10-nov-2005.18:53:01 $
- Author:
- The Oracle ADF Faces Team
- See Also:
LafIconProvider
Method Summary |
boolean |
equals(java.lang.Object o)
|
static int |
getKeyCount()
Returns the total number of keys created |
int |
getKeyIndex()
Returns the 0-based index of this IconKey |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
IconKey
public IconKey()
getKeyCount
public static int getKeyCount()
- Returns the total number of keys created
getKeyIndex
public int getKeyIndex()
- Returns the 0-based index of this IconKey
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.