Class EditorWebServerPortConfig

All Implemented Interfaces:
IPropEditorExtenderProvider<PKCS12IdentityPropEditor,PKCS12IdentityProp,byte[]>, IDynamicPropertyEditorList, IPropDesigner, ITooltipPropList, EventListener, IGProp<GProp<?>[]>, IPropCnr, IWebServerPortConfig, Cloneable, IAdaptable

Editor version of the property container for the configuration of a Port "group" of the web server. A port group is defines a bind address for a single or a range of ports to use, and the protocol to bind to (HTTP or HTTPS).
  • Constructor Details

    • EditorWebServerPortConfig

      public EditorWebServerPortConfig()
      Creates the screen identification property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorWebServerPortConfig

      public EditorWebServerPortConfig(Atom propertyAtom)
      Creates the screen identification property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • getDesigner

      public ServerConfigDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • clone

      public EditorWebServerPortConfig clone()
      Clone must be overridden.
      Overrides:
      clone in class WebServerPortConfig
    • getTooltipPropertyList

      public List<TooltipItem> getTooltipPropertyList()
      Gets the list of property names that should be displayed. The value is a String with a Tab delimiter for the text prompt, i.e. an item "Text prompt\t$text" will take a property named "$text" shown with the text prompt "Text prompt:". The first item indicates the heading. Special values for an item are:
      • "" (only empty string) will add space before next line (4 pixel per empty string),
      • "-" for a separator line,
      • "MMM\t" for full line width of text "MMM",
      • "$" for the property name,
      • "&cnText" for the text.
      • "&cnDescription" for the property getCNDescription() available on Text prompt side (before \t),
      • "&cnDescriptionType" for the property getCNDescriptionType() available on Text prompt side (before \t).
      An item that is preceded with "#" will use bold font.
      An item that is preceded with "%" will use bold font and the image for the property.
      Specified by:
      getTooltipPropertyList in interface ITooltipPropList
      Returns:
      The list, or null for no tooltip.
    • hasEditedPropertyListChanged

      public boolean hasEditedPropertyListChanged(GEvent event)
      Verifies if the property has changed.
      Specified by:
      hasEditedPropertyListChanged in interface IDynamicPropertyEditorList
      Parameters:
      event - The property event.
      Returns:
      true if it changed.
    • getEditorExtender

      Gets the extension for a property editor.
      Specified by:
      getEditorExtender in interface IPropEditorExtenderProvider<PKCS12IdentityPropEditor,PKCS12IdentityProp,byte[]>
      Parameters:
      editor - The requesting editor.
      atom - The property atom being edited.
      Returns:
      The extender, or null for none.
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.