public class VirtualPopupMenuItem extends VirtualMenuItem
VirtualPopupMenu
,
VirtualMenuItem
actionKeys, AKEY_ALT, AKEY_CTRL, AKEY_MASK, AKEY_SHIFT, connectedControlIndex, hostField, hostScreen, menuItem, owner, panel, parent, textData
TOOLTIP_TEXT
OBJACT_CHAR, OBJACT_CHECK, OBJACT_CLICK, OBJACT_CLOSE, OBJACT_COMMAND, OBJACT_CREATE, OBJACT_DBLCLICK, OBJACT_DDECONNECTION, OBJACT_DDEDATA, OBJACT_DDEERROR, OBJACT_DDEEXECUTE, OBJACT_DDEPOKE, OBJACT_DDEREQUEST, OBJACT_DDEVALIDATE, OBJACT_DEFOCUS, OBJACT_DESTROY, OBJACT_FOCUS, OBJACT_HIDDEN, OBJACT_HOSTCHANGE, OBJACT_LAST_MESSAGE_HANDLED, OBJACT_QUERYMSG, OBJACT_RECREATE, OBJACT_SELECT, OBJACT_SHOW, OBJACT_START, OBJACT_TRANSLATE, OBJACT_USERCHANGE, PHA_ICO_INFO, PHA_ICO_NOICON, PHA_ICO_QUESTION, PHA_ICO_STOP, PHA_ICO_WARNING, PHA_MSG_CANCEL, PHA_MSG_ENTER, PHA_MSG_ENTERCANCEL, PHA_MSG_OK, PHA_MSG_OKCANCEL, PHA_MSG_RETIGNCANCEL, PHA_MSG_RETRYCANCEL, PHA_MSG_YESNO, PHA_MSG_YESNOCANCEL
Constructor and Description |
---|
VirtualPopupMenuItem(VirtualRuntimePopupMenu vrpm,
VirtualPanel vp,
VirtualChangeEvent owner,
PhantomMenuItem menuItem)
Creates the pull-down menu with all associated sub-menus
and menu items.
|
Modifier and Type | Method and Description |
---|---|
void |
fireCreate(Transaction trans)
Fires the create transaction to the client.
|
void |
fireUpdate(Transaction trans)
Fires the update transaction to the client.
|
void |
issueAction(Transaction trans)
This method is invoked by the server kernel whenever this menu item is selected
on the client side.
|
areTextPromptsAlwaysRefreshed, callControl, callObject, deleteAll, deleteLine, fireCreate, fireUpdate, getBackgroundColor, getBasicData, getCell, getColor, getFont, getForegroundColor, getID, getLength, getLine, getLineCount, getNextSelection, getObject, getParent, getPopupMenu, getProperty, getPullDownMenu, getSubMenuCount, getText, getTooltipText, hasChanged, hostScreenChanged, insertLine, isChecked, isEnabled, isVisible, refresh, refreshTextPrompts, selectField, setBackgroundColor, setCell, setChanged, setChecked, setColor, setEnabled, setEnabled, setFileFromList, setFocus, setFocus, setFont, setForegroundColor, setLength, setLine, setListFromFile, setProperty, setSelection, setText, setTooltipText, setVisible, textFileChanged
public VirtualPopupMenuItem(VirtualRuntimePopupMenu vrpm, VirtualPanel vp, VirtualChangeEvent owner, PhantomMenuItem menuItem)
When the pop-up menu is creates, it will use the text
from the VirtualRuntimePopupMenu
. This will
significantly reduce duplicated string from being sent to
the client.
public void fireCreate(Transaction trans)
fireCreate
in interface VirtualClientMessages
fireCreate
in class VirtualMenuItem
VirtualMenuItem.fireCreate(se.entra.phantom.common.Transaction)
public void fireUpdate(Transaction trans)
fireUpdate
in interface VirtualClientMessages
fireUpdate
in class VirtualMenuItem
VirtualMenuItem.fireUpdate(se.entra.phantom.common.Transaction)
public void issueAction(Transaction trans)
issueAction
in class VirtualMenuItem
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.