|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.MenuComponent | +--java.awt.MenuItem | +--java.awt.Menu | +--java.awt.PopupMenu | +--jimmc.roots.LayoutPopup
A popup menu for use with a LayoutPanel. It includes a select command that picks the key value (id field) out of the text under the cursor.
Inner classes inherited from class java.awt.PopupMenu |
java.awt.PopupMenu.AccessibleAWTPopupMenu |
Inner classes inherited from class java.awt.Menu |
java.awt.Menu.AccessibleAWTMenu |
Inner classes inherited from class java.awt.MenuItem |
java.awt.MenuItem.AccessibleAWTMenuItem |
Inner classes inherited from class java.awt.MenuComponent |
java.awt.MenuComponent.AccessibleAWTMenuComponent |
Constructor Summary | |
LayoutPopup(TextPopupListener ww)
Create the popup. |
Method Summary | |
protected void |
addMenuItems()
Add the menu items to the popup. |
protected void |
enableIdMenus(boolean enable)
Enable or disable the menus that depend on a valid ID. |
protected java.lang.String |
getWordAround(java.lang.String text,
int pos)
Get the word in the given single line around the specified position. |
protected void |
setRecord(LayoutPanelWithPopup tf,
int x,
int y)
Set stuff in the popup menu based on x,y position |
Methods inherited from class java.awt.PopupMenu |
addNotify, getAccessibleContext, show |
Methods inherited from class java.awt.Menu |
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify |
Methods inherited from class java.awt.MenuItem |
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut |
Methods inherited from class java.awt.MenuComponent |
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, postEvent, setFont, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Constructor Detail |
public LayoutPopup(TextPopupListener ww)
Method Detail |
protected void addMenuItems()
protected void enableIdMenus(boolean enable)
protected void setRecord(LayoutPanelWithPopup tf, int x, int y)
protected java.lang.String getWordAround(java.lang.String text, int pos)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |