com.incrediblesoft.redjey
Class Frame

java.lang.Object
  extended by com.incrediblesoft.redjey.Component
      extended by com.incrediblesoft.redjey.Container
          extended by com.incrediblesoft.redjey.Window
              extended by com.incrediblesoft.redjey.Frame
Direct Known Subclasses:
ComponentsPage

public class Frame
extends Window


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
Frame(java.lang.String title)
           
Frame(java.lang.String title, java.lang.String styleClassName)
           
 
Method Summary
 Container getContentPane()
           
 Component getHeader()
           
 MenuBar getMenuBar()
           
 java.lang.String getName()
          This method is used to retrieve the appropriate style set from a hashtable of styles
 void setContentPane(Container contentPane)
           
 void setMenuBar(MenuBar menuBar)
           
 void setState(int index)
          Sets component state (NORMAL, FOCUSED, DISABLED or custom one).
 void setTitle(java.lang.String title)
           
 
Methods inherited from class com.incrediblesoft.redjey.Window
addFocusListener, isModal, paint, removeFocusListener, setFullScreen, setModal, setVisible
 
Methods inherited from class com.incrediblesoft.redjey.Container
add, dispatchEvent, getComponent, getComponentAt, getComponentCount, getLayout, indexOf, insertAt, pack, remove, remove, removeAll, setLayout, tick
 
Methods inherited from class com.incrediblesoft.redjey.Component
addActionListener, addMouseListener, 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, removeActonListener, removeMouseListener, repaint, repaint, setAlignment, setBounds, setContentAlignment, setLocation, setPreferredSize, setSize, setSize, setStyle, setStyle, setStyleClass, setTag, setX, setY, toString, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Frame

public Frame(java.lang.String title)

Frame

public Frame(java.lang.String title,
             java.lang.String styleClassName)
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

Overrides:
getName in class Window
Returns:
Name of component

setTitle

public void setTitle(java.lang.String title)

getContentPane

public Container getContentPane()

setContentPane

public void setContentPane(Container contentPane)

setMenuBar

public void setMenuBar(MenuBar menuBar)

getMenuBar

public MenuBar getMenuBar()

getHeader

public Component getHeader()

setState

public void setState(int index)
Description copied from class: Component
Sets component state (NORMAL, FOCUSED, DISABLED or custom one). It is also changes appearance styles.

Overrides:
setState in class Component
Parameters:
index - Component state index