Class powersoft.jcm.ui.Form
All Packages Class Hierarchy This Package Previous Next Index
Class powersoft.jcm.ui.Form
java.lang.Object
|
+----powersoft.jcm.ui.Component
|
+----powersoft.jcm.ui.Container
|
+----powersoft.jcm.ui.PopupWindow
|
+----powersoft.jcm.ui.Form
- public class Form
- extends PopupWindow
-
_menuBar
-
-
Form()
-
-
createAWTComponent(Component)
-
-
findMenuComponent(MenuComponent, boolean)
-
-
getCursor()
- Gets the current cursor type for the form.
-
getMenuBar()
-
-
getResizable()
-
-
getText()
-
-
setCursor(int)
- Sets the current cursor type for the form.
-
setMenuBar(MenuBar)
-
-
setResizable(boolean)
-
-
setText(String)
-
_menuBar
protected MenuBar _menuBar
Form
public Form()
getCursor
public int getCursor()
- Gets the current cursor type for the form.
- Returns:
- the type of cursor for the form. One of the following values
is returned.
- CROSSHAIR_CURSOR
- DEFAULT_CURSOR
- E_RESIZE_CURSOR
- HAND_CURSOR
- MOVE_CURSOR
- NE_RESIZE_CURSOR
- NW_RESIZE_CURSOR
- N_RESIZE_CURSOR
- SE_RESIZE_CURSOR
- SW_RESIZE_CURSOR
- S_RESIZE_CURSOR
- TEXT_CURSOR
- WAIT_CURSOR
- W_RESIZE_CURSOR
- See Also:
- setCursor
setCursor
public void setCursor(int cursor)
- Sets the current cursor type for the form.
- Parameters:
- cursor
Specifies - the type of cursor for the form. Use one of the
following constants:
- CROSSHAIR_CURSOR
- DEFAULT_CURSOR
- E_RESIZE_CURSOR
- HAND_CURSOR
- MOVE_CURSOR
- NE_RESIZE_CURSOR
- NW_RESIZE_CURSOR
- N_RESIZE_CURSOR
- SE_RESIZE_CURSOR
- SW_RESIZE_CURSOR
- S_RESIZE_CURSOR
- TEXT_CURSOR
- WAIT_CURSOR
- W_RESIZE_CURSOR
- See Also:
- getCursor
getMenuBar
public MenuBar getMenuBar()
setMenuBar
public void setMenuBar(MenuBar mb)
getResizable
public boolean getResizable()
- Returns:
- true if the form is resizable, false otherwise.
setResizable
public void setResizable(boolean resizable)
createAWTComponent
protected Component createAWTComponent(Component parent)
- Overrides:
- createAWTComponent in class PopupWindow
getText
public String getText()
- Overrides:
- getText in class Component
setText
public void setText(String text)
- Overrides:
- setText in class Component
findMenuComponent
public MenuComponent findMenuComponent(MenuComponent awtComp,
boolean recurse)
- Overrides:
- findMenuComponent in class Component
All Packages Class Hierarchy This Package Previous Next Index