|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMenu
Platform and technology independent menu definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
Menu,
JMenu| Field Summary |
|---|
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Method Summary | |
|---|---|
void |
addSeparator()
Appends a new separator at the end of the menu. |
void |
addSeparator(int pIndex)
Inserts a separator at the specified position. |
| Methods inherited from interface javax.rad.ui.component.IActionComponent |
|---|
eventAction, getAccelerator, getActionCommand, getMargins, setAccelerator, setActionCommand, setMargins |
| Methods inherited from interface javax.rad.ui.component.IIcon |
|---|
getImage, setImage |
| Methods inherited from interface javax.rad.ui.component.ILabel |
|---|
getText, setText |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Method Detail |
|---|
void addSeparator()
void addSeparator(int pIndex)
pIndex - an integer specifying the position at which to
insert the menu separator
IllegalArgumentException - if the value of
index < 0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||