Package overit.geocall.basic.ui.control
Class TaskMessageElement
java.lang.Object
overit.geocall.ecs.ComposedElement
overit.geocall.basic.ui.control.TaskMessageElement
- All Implemented Interfaces:
org.apache.ecs.Element,org.apache.ecs.ElementRegistry
This class, that extends
ComposedElement, is the one that defines the drawing logic of every TaskMessage-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected static Iconprotected Iconprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected intprotected intprotected booleanprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected intprotected StringFields inherited from class overit.geocall.ecs.ComposedElement
_osOut, _pw, _pwOutFields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompose()protected Stringvoidset(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed) Deprecated, for removal: This API element is subject to removal in a future version.voidset(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex) Deprecated, for removal: This API element is subject to removal in a future version.voidset(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode) voidset(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode, boolean hasActiveModule, String moduleTooltip) Sets the parameters used to defines the specific TaskMessageElementvoidset(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode, boolean hasActiveModule, String moduleTooltip, boolean hasSelectedLeafChild) Sets the parameters used to defines the specific TaskMessageElementMethods inherited from class overit.geocall.ecs.ComposedElement
addElementToRegistry, addElementToRegistry, createEndTag, createStartTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, out, out, outAttribute, outListAttribute, outListAttribute, outOn, outOut, output, output, registryHasElement, registryHasElement, removeBeginEndModifier, removeBeginStartModifier, removeElementFromRegistry, removeElementFromRegistry, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString
-
Field Details
-
_icon
-
_label
-
_shortcut
-
_selected
protected boolean _selected -
_disabled
protected boolean _disabled -
_ro
protected boolean _ro -
_destination
-
_name
-
_param
-
_msg
-
_refreshTime
protected int _refreshTime -
_refreshNumber
protected int _refreshNumber -
_refreshed
protected int _refreshed -
accessibleMode
protected boolean accessibleMode -
tabindex
protected int tabindex -
tooltip
-
isParentNode
protected boolean isParentNode -
hasActiveModule
protected boolean hasActiveModule -
moduleTooltip
-
hasSelectedLeafChild
protected boolean hasSelectedLeafChild -
_emptyIcon
-
-
Constructor Details
-
TaskMessageElement
public TaskMessageElement()Creates a new TaskMessageElement
-
-
Method Details
-
set
@Deprecated(since="11.0", forRemoval=true) public void set(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed) Deprecated, for removal: This API element is subject to removal in a future version.Sets the parameters used to defines the specific TaskMessageElement.- Parameters:
icon- TheIconthat will appear on the left of the menu voicelabel- The labelshortcut- The shortcut key for the labelselected- Defines if the element is currently selecteddisabled- Defines if the element is disabledro- Defines if the element is in read only statedestination- The registryname of the container that will manage the eventname- The name of the elementparam- A string that represents the parameter passed to the event triggered elementmsg- A string that represents the message contained in the alert that will appears when the user clicks the elementrefreshTime- The refresh (automatic execution) timerefreshNumber- The maximum refresh (automatic execution) numberrefreshed- The number of refreshes (automatic executions) executed
-
set
@Deprecated(since="11.0", forRemoval=true) public void set(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex) Deprecated, for removal: This API element is subject to removal in a future version.Sets the parameters used to defines the specific TaskMessageElement- Parameters:
icon- TheIconthat will appear on the left of the menu voicelabel- The labelshortcut- The shortcut key for the labelselected- Defines if the element is currently selecteddisabled- Defines if the element is disabledro- Defines if the element is in read only statedestination- The registryname of the container that will manage the eventname- The name of the elementparam- A string that represents the parameter passed to the event triggered elementmsg- A string that represents the message contained in the alert that will appears when the user clicks the elementrefreshTime- The refresh (automatic execution) timerefreshNumber- The maximum refresh (automatic execution) numberrefreshed- The number of refreshes (automatic executions) executedaccessibleMode- Define if the application's mode is the accessible one or not.tabindex- Define the tab index
-
set
@Deprecated(since="11.0.2") public void set(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode) Deprecated.Sets the parameters used to defines the specific TaskMessageElement- Parameters:
icon- TheIconthat will appear on the left of the menu voicelabel- The labelshortcut- The shortcut key for the labelselected- Defines if the element is currently selecteddisabled- Defines if the element is disabledro- Defines if the element is in read only statedestination- The registryname of the container that will manage the eventname- The name of the elementparam- A string that represents the parameter passed to the event triggered elementmsg- A string that represents the message contained in the alert that will appears when the user clicks the elementrefreshTime- The refresh (automatic execution) timerefreshNumber- The maximum refresh (automatic execution) numberrefreshed- The number of refreshes (automatic executions) executedaccessibleMode- Define if the application's mode is the accessible one or not.tabindex- Define the tab indextooltip- Tooltip to add into the elementisParentNode- Define wheter the node is a parent or not. If the node is a parent ones it must present an arrow on the right.
-
set
public void set(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode, boolean hasActiveModule, String moduleTooltip) Sets the parameters used to defines the specific TaskMessageElement- Parameters:
icon- TheIconthat will appear on the left of the menu voicelabel- The labelshortcut- The shortcut key for the labelselected- Defines if the element is currently selecteddisabled- Defines if the element is disabledro- Defines if the element is in read only statedestination- The registryname of the container that will manage the eventname- The name of the elementparam- A string that represents the parameter passed to the event triggered elementmsg- A string that represents the message contained in the alert that will appears when the user clicks the elementrefreshTime- The refresh (automatic execution) timerefreshNumber- The maximum refresh (automatic execution) numberrefreshed- The number of refreshes (automatic executions) executedaccessibleMode- Define if the application's mode is the accessible one or not.tabindex- Define the tab indextooltip- Tooltip to add into the elementisParentNode- Define wheter the node is a parent or not. If the node is a parent ones it must present an arrow on the right.hasActiveModule- Define wheter the node has a licensed module or not.moduleTooltip- Define the tooltip to visualize.
-
set
public void set(Icon icon, String label, String shortcut, boolean selected, boolean disabled, boolean ro, String destination, String name, String param, String msg, int refreshTime, int refreshNumber, int refreshed, boolean accessibleMode, int tabindex, String tooltip, boolean isParentNode, boolean hasActiveModule, String moduleTooltip, boolean hasSelectedLeafChild) Sets the parameters used to defines the specific TaskMessageElement- Parameters:
icon- TheIconthat will appear on the left of the menu voicelabel- The labelshortcut- The shortcut key for the labelselected- Defines if the element is currently selecteddisabled- Defines if the element is disabledro- Defines if the element is in read only statedestination- The registryname of the container that will manage the eventname- The name of the elementparam- A string that represents the parameter passed to the event triggered elementmsg- A string that represents the message contained in the alert that will appears when the user clicks the elementrefreshTime- The refresh (automatic execution) timerefreshNumber- The maximum refresh (automatic execution) numberrefreshed- The number of refreshes (automatic executions) executedaccessibleMode- Define if the application's mode is the accessible one or not.tabindex- Define the tab indextooltip- Tooltip to add into the elementisParentNode- Define wheter the node is a parent or not. If the node is a parent ones it must present an arrow on the right.hasActiveModule- Define wheter the node has a licensed module or not.moduleTooltip- Define the tooltip to visualize.hasSelectedLeafChild- Define whether this parent node has a selected leaf child (in menuDrillLeaf mode).
-
compose
public void compose()- Specified by:
composein classComposedElement
-
nn
-
set(overit.geocall.ecs.Icon, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, int, int, boolean, int)instead.