|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.incrediblesoft.redjey.Component
com.incrediblesoft.redjey.Container
com.incrediblesoft.redjey.Window
public class 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 | |
---|---|
Window()
Constructs default window |
|
Window(java.lang.String styleClassName)
Constructs window with specified style class name |
Method Summary | |
---|---|
void |
addFocusListener(FocusListener listener)
|
java.lang.String |
getName()
This method is used to retrieve the appropriate style set from a hashtable of styles |
boolean |
isModal()
Returns whether whit window can go background or not. |
void |
paint(javax.microedition.lcdui.Graphics g)
Paints component. |
void |
removeFocusListener(FocusListener listener)
|
void |
setFullScreen()
Maximizes this window |
void |
setModal(boolean modal)
Sets modality flag |
void |
setVisible(boolean visible)
Set this component visible or not |
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, setState, 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 |
---|
public Window()
public Window(java.lang.String styleClassName)
styleClassName
- Style class nameMethod Detail |
---|
public java.lang.String getName()
Component
getName
in class Container
public void setVisible(boolean visible)
Component
setVisible
in class Component
visible
- true / falsepublic void setModal(boolean modal)
modal
- true - window always on top, otherwise - window can go background.public boolean isModal()
public void setFullScreen()
public void paint(javax.microedition.lcdui.Graphics g)
Component
paint
in class Component
g
- Graphics objectpublic void addFocusListener(FocusListener listener)
public void removeFocusListener(FocusListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |