Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.util
Class Tab

java.lang.Object
  |
  +--oracle.cabo.image.util.Tab
Direct Known Subclasses:
DestinationTab

public class Tab
extends java.lang.Object

Simple representation of a Tab that contains a text label and its disabled state. Clients provide an array of Tab objects to the TabBarImageRenderer using the TABS_KEY constant.


Field Summary
static char ACCESS_KEY_UNDEFINED
          Constant for undefined access keys.
 
Constructor Summary
Tab(java.lang.String text, boolean disabled)
          Create an Tab object.
Tab(java.lang.String text, boolean disabled, char accessKey)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals implementation
 char getAccessKey()
          Gets the access key for the Tab
 java.lang.String getText()
          Gets the text for the Tab.
 int hashCode()
          Hash code implementation
 boolean isDisabled()
          Tests the disabled state for the Tab.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCESS_KEY_UNDEFINED

public static final char ACCESS_KEY_UNDEFINED
Constant for undefined access keys.
Constructor Detail

Tab

public Tab(java.lang.String text,
           boolean disabled)
Create an Tab object.

Tab

public Tab(java.lang.String text,
           boolean disabled,
           char accessKey)
Method Detail

getAccessKey

public final char getAccessKey()
Gets the access key for the Tab

getText

public final java.lang.String getText()
Gets the text for the Tab.

isDisabled

public final boolean isDisabled()
Tests the disabled state for the Tab.

equals

public boolean equals(java.lang.Object o)
Equals implementation
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Hash code implementation
Overrides:
hashCode in class java.lang.Object

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.