|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<C>
com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton<C>
com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem<javax.swing.JMenu>
com.sibvisions.rad.ui.swing.impl.menu.SwingMenu
public class SwingMenu
The SwingMenu is the IMenu
implementation for swing.
JMenu,
IMenu| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem |
|---|
MAX_IMAGESIZE |
| Fields inherited from class com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton |
|---|
image, imgOver, imgPressed |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
bComponentListener, bFocusListener, bKeyListener, bMouseListener, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, eventSource, factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingMenu()
Creates a new instance of SwingMenu. |
|
| Method Summary | |
|---|---|
protected void |
addIntern(java.awt.Component pComponent,
java.lang.Object pConstraints,
int pIndex)
Internal function, for adding physical component and supporting layers. |
void |
addSeparator()
Appends a new separator at the end of the menu. |
void |
addSeparator(int pIndex)
Inserts a separator at the specified position. |
protected void |
removeIntern(java.awt.Component pComponent)
Internal function, for adding physical component and supporting layers. |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem |
|---|
setImage |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture, getToolTipText, setTabIndex, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
|---|
add, add, add, add, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
getResource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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, isPreserveAspectRatio, setImage, setPreserveAspectRatio |
| 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 |
| Constructor Detail |
|---|
public SwingMenu()
SwingMenu.
| Method Detail |
|---|
public void addSeparator()
addSeparator in interface IMenupublic void addSeparator(int pIndex)
addSeparator in interface IMenupIndex - an integer specifying the position at which to
insert the menu separator
protected void addIntern(java.awt.Component pComponent,
java.lang.Object pConstraints,
int pIndex)
addIntern in class AwtContainer<javax.swing.JMenu>pComponent - the Component to be addedpConstraints - an object expressing layout contraints for thispIndex - the position in the container's list at which to insert
the Component; -1 means insert at the end
componentAwtContainer.add(IComponent, Object, int)protected void removeIntern(java.awt.Component pComponent)
removeIntern in class AwtContainer<javax.swing.JMenu>pComponent - the Component to be removedAwtContainer.remove(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||