com.incrediblesoft.redjey
Class Label

java.lang.Object
  extended by com.incrediblesoft.redjey.Component
      extended by com.incrediblesoft.redjey.TextComponent
          extended by com.incrediblesoft.redjey.Label

public class Label
extends TextComponent


Field Summary
 
Fields inherited from class com.incrediblesoft.redjey.Component
BOTTOM_LAYOUT, DISABLED, H_EXPAND, HCENTER_LAYOUT, HIGHLIGHTED, LEFT_LAYOUT, NORMAL, PRESSED, RIGHT_LAYOUT, TOP_LAYOUT, TOTAL_STATES, V_EXPAND, VCENTER_LAYOUT
 
Constructor Summary
Label()
          Constructs default label
Label(java.lang.String text)
          Constructs default label with a given title
Label(java.lang.String text, java.lang.String styleClassName)
          Constructs default label with a given title and style class
 
Method Summary
 java.lang.String getName()
          This method is used to retrieve the appropriate style set from a hashtable of styles
 boolean isFocusable()
           
 
Methods inherited from class com.incrediblesoft.redjey.TextComponent
getText, setText, toString
 
Methods inherited from class com.incrediblesoft.redjey.Component
addActionListener, addMouseListener, dispatchEvent, fireActionEvent, getAbsoluteRect, getAbsoluteX, getAbsoluteY, getAlignment, getBounds, getClientSize, getContentAlignment, getCurrentStyle, getHeight, getParent, getPreferredSize, getState, getStyle, getStyleClass, getWidth, getX, getY, invalidate, invalidateTree, isFocused, isHighlightable, isVisible, keyPressed, keyReleased, paint, removeActonListener, removeMouseListener, repaint, repaint, setAlignment, setBounds, setContentAlignment, setLocation, setPreferredSize, setSize, setSize, setState, setStyle, setStyle, setStyleClass, setTag, setVisible, setX, setY, tick, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Label

public Label()
Constructs default label


Label

public Label(java.lang.String text)
Constructs default label with a given title

Parameters:
text - title

Label

public Label(java.lang.String text,
             java.lang.String styleClassName)
Constructs default label with a given title and style class

Parameters:
text - title
styleClassName - style class
Method Detail

getName

public java.lang.String getName()
Description copied from class: Component
This method is used to retrieve the appropriate style set from a hashtable of styles

Specified by:
getName in class Component
Returns:
Name of component

isFocusable

public boolean isFocusable()