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

public class TaskMessageElement extends ComposedElement
This class, that extends ComposedElement, is the one that defines the drawing logic of every TaskMessage
  • Field Details

    • _icon

      protected Icon _icon
    • _label

      protected String _label
    • _shortcut

      protected String _shortcut
    • _selected

      protected boolean _selected
    • _disabled

      protected boolean _disabled
    • _ro

      protected boolean _ro
    • _destination

      protected String _destination
    • _name

      protected String _name
    • _param

      protected String _param
    • _msg

      protected String _msg
    • _refreshTime

      protected int _refreshTime
    • _refreshNumber

      protected int _refreshNumber
    • _refreshed

      protected int _refreshed
    • accessibleMode

      protected boolean accessibleMode
    • tabindex

      protected int tabindex
    • tooltip

      protected String tooltip
    • isParentNode

      protected boolean isParentNode
    • hasActiveModule

      protected boolean hasActiveModule
    • moduleTooltip

      protected String moduleTooltip
    • hasSelectedLeafChild

      protected boolean hasSelectedLeafChild
    • _emptyIcon

      protected static Icon _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)
      Sets the parameters used to defines the specific TaskMessageElement.
      Parameters:
      icon - The Icon that will appear on the left of the menu voice
      label - The label
      shortcut - The shortcut key for the label
      selected - Defines if the element is currently selected
      disabled - Defines if the element is disabled
      ro - Defines if the element is in read only state
      destination - The registryname of the container that will manage the event
      name - The name of the element
      param - A string that represents the parameter passed to the event triggered element
      msg - A string that represents the message contained in the alert that will appears when the user clicks the element
      refreshTime - The refresh (automatic execution) time
      refreshNumber - The maximum refresh (automatic execution) number
      refreshed - 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)
      Sets the parameters used to defines the specific TaskMessageElement
      Parameters:
      icon - The Icon that will appear on the left of the menu voice
      label - The label
      shortcut - The shortcut key for the label
      selected - Defines if the element is currently selected
      disabled - Defines if the element is disabled
      ro - Defines if the element is in read only state
      destination - The registryname of the container that will manage the event
      name - The name of the element
      param - A string that represents the parameter passed to the event triggered element
      msg - A string that represents the message contained in the alert that will appears when the user clicks the element
      refreshTime - The refresh (automatic execution) time
      refreshNumber - The maximum refresh (automatic execution) number
      refreshed - The number of refreshes (automatic executions) executed
      accessibleMode - 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)
      Sets the parameters used to defines the specific TaskMessageElement
      Parameters:
      icon - The Icon that will appear on the left of the menu voice
      label - The label
      shortcut - The shortcut key for the label
      selected - Defines if the element is currently selected
      disabled - Defines if the element is disabled
      ro - Defines if the element is in read only state
      destination - The registryname of the container that will manage the event
      name - The name of the element
      param - A string that represents the parameter passed to the event triggered element
      msg - A string that represents the message contained in the alert that will appears when the user clicks the element
      refreshTime - The refresh (automatic execution) time
      refreshNumber - The maximum refresh (automatic execution) number
      refreshed - The number of refreshes (automatic executions) executed
      accessibleMode - Define if the application's mode is the accessible one or not.
      tabindex - Define the tab index
      tooltip - Tooltip to add into the element
      isParentNode - 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 - The Icon that will appear on the left of the menu voice
      label - The label
      shortcut - The shortcut key for the label
      selected - Defines if the element is currently selected
      disabled - Defines if the element is disabled
      ro - Defines if the element is in read only state
      destination - The registryname of the container that will manage the event
      name - The name of the element
      param - A string that represents the parameter passed to the event triggered element
      msg - A string that represents the message contained in the alert that will appears when the user clicks the element
      refreshTime - The refresh (automatic execution) time
      refreshNumber - The maximum refresh (automatic execution) number
      refreshed - The number of refreshes (automatic executions) executed
      accessibleMode - Define if the application's mode is the accessible one or not.
      tabindex - Define the tab index
      tooltip - Tooltip to add into the element
      isParentNode - 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 - The Icon that will appear on the left of the menu voice
      label - The label
      shortcut - The shortcut key for the label
      selected - Defines if the element is currently selected
      disabled - Defines if the element is disabled
      ro - Defines if the element is in read only state
      destination - The registryname of the container that will manage the event
      name - The name of the element
      param - A string that represents the parameter passed to the event triggered element
      msg - A string that represents the message contained in the alert that will appears when the user clicks the element
      refreshTime - The refresh (automatic execution) time
      refreshNumber - The maximum refresh (automatic execution) number
      refreshed - The number of refreshes (automatic executions) executed
      accessibleMode - Define if the application's mode is the accessible one or not.
      tabindex - Define the tab index
      tooltip - Tooltip to add into the element
      isParentNode - 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:
      compose in class ComposedElement
    • nn

      protected String nn(String s)