public class DesignContextMenu extends Object implements org.fujion.ancillary.IAutoWired
| Constructor and Description |
|---|
DesignContextMenu() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitialized(org.fujion.component.BaseComponent root) |
static DesignContextMenu |
create()
Creates an instance of the design context menu.
|
static DesignContextMenu |
getInstance()
Returns an instance of the design context menu.
|
org.fujion.component.Menupopup |
getMenupopup() |
void |
setListener(org.fujion.component.BaseComponent listener)
Sets the component that is to receive layout change events.
|
void |
setOwner(ElementUI owner)
Sets the context menu's owner.
|
void |
updateStates(ElementBase ele,
org.fujion.ancillary.IDisable add,
org.fujion.ancillary.IDisable delete,
org.fujion.ancillary.IDisable copy,
org.fujion.ancillary.IDisable cut,
org.fujion.ancillary.IDisable paste,
org.fujion.ancillary.IDisable properties,
org.fujion.ancillary.IDisable about)
Updates states on input elements (typically buttons or menu items) according to state of the
specified UI element.
|
public static DesignContextMenu getInstance()
public static DesignContextMenu create()
public void updateStates(ElementBase ele, org.fujion.ancillary.IDisable add, org.fujion.ancillary.IDisable delete, org.fujion.ancillary.IDisable copy, org.fujion.ancillary.IDisable cut, org.fujion.ancillary.IDisable paste, org.fujion.ancillary.IDisable properties, org.fujion.ancillary.IDisable about)
ele - A UI element.add - Add input element.delete - Delete input element.copy - Copy input element.cut - Cut input element.paste - Paste input element.properties - Properties input element.about - About input element.public void afterInitialized(org.fujion.component.BaseComponent root)
afterInitialized in interface org.fujion.ancillary.IAutoWiredpublic void setOwner(ElementUI owner)
owner - Menu's owner.public void setListener(org.fujion.component.BaseComponent listener)
listener - Event listener.public org.fujion.component.Menupopup getMenupopup()
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.