com.incrediblesoft.redjey
Class Frame
java.lang.Object
com.incrediblesoft.redjey.Component
com.incrediblesoft.redjey.Container
com.incrediblesoft.redjey.Window
com.incrediblesoft.redjey.Frame
- Direct Known Subclasses:
- ComponentsPage
public class Frame
- extends Window
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)
|
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 |
Frame
public Frame(java.lang.String title)
Frame
public Frame(java.lang.String title,
java.lang.String styleClassName)
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