|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.button.AbstractButton
nextapp.echo2.app.Button
echopointng.ButtonEx
echopointng.MenuItem
echopointng.Menu
echopointng.MenuButton
public class MenuButton
MenuButton is a specialised form of Menu that looks like a stand alone button but has the drop down Menu Box that can contain other MenuItems and other components.
| Field Summary | |
|---|---|
static Style |
DEFAULT_STYLE
This DEFAULT_STYLE is applied to the MenuButton to give it a series of borders and background colors |
static ImageReference |
DEFAULT_SUBMENU_IMAGE
The default MenuButton sub menu image |
| Fields inherited from interface echopointng.able.Borderable |
|---|
PROPERTY_BORDER |
| Fields inherited from interface echopointng.able.MouseCursorable |
|---|
CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, PROPERTY_MOUSE_CURSOR, PROPERTY_MOUSE_CURSOR_URI |
| Fields inherited from interface echopointng.able.AccessKeyable |
|---|
PROPERTY_ACCESS_KEY |
| Fields inherited from interface echopointng.able.Insetable |
|---|
DEFAULT_INSETS, DEFAULT_OUTSETS, PROPERTY_INSETS, PROPERTY_OUTSETS |
| Fields inherited from interface echopointng.able.Widthable |
|---|
PROPERTY_WIDTH |
| Fields inherited from interface echopointng.able.Heightable |
|---|
PROPERTY_HEIGHT |
| Fields inherited from interface echopointng.able.ToolTipable |
|---|
PROPERTY_TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
MenuButton()
Creates a MenuButton with no text or icon. |
|
MenuButton(ImageReference icon)
Creates a MenuButton with an icon. |
|
MenuButton(java.lang.String text)
Creates a MenuButton with text. |
|
MenuButton(java.lang.String text,
ImageReference icon)
Creates a MenuButton with text and an icon. |
|
| Method Summary |
|---|
| Methods inherited from class echopointng.MenuItem |
|---|
getRootMenu |
| Methods inherited from class echopointng.ButtonEx |
|---|
getAccessKey, getAttribute, getAttributeNames, getInsets, getMouseCursor, getMouseCursorURI, getOutsets, setAccessKey, setAttribute, setInsets, setMouseCursor, setMouseCursorURI, setOutsets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface echopointng.able.Borderable |
|---|
getBorder, setBorder |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Widthable |
|---|
getWidth, setWidth |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Heightable |
|---|
getHeight, setHeight |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.ToolTipable |
|---|
getToolTipText, setToolTipText |
| Field Detail |
|---|
public static final ImageReference DEFAULT_SUBMENU_IMAGE
public static Style DEFAULT_STYLE
| Constructor Detail |
|---|
public MenuButton()
MenuButton with no text or icon.
public MenuButton(java.lang.String text)
MenuButton with text.
text - A text label to display in the MenuButton.public MenuButton(ImageReference icon)
MenuButton with an icon.
icon - An icon to display in the MenuButton.
public MenuButton(java.lang.String text,
ImageReference icon)
MenuButton with text and an icon.
text - A text label to display in the MenuButton.icon - An icon to display in the MenuButton.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||