Class EFlexData

    • Field Detail

      • setup

        public static final java.lang.String[] setup
        The setup array.
      • FLEX_ALIGNS

        public static final java.lang.String[] FLEX_ALIGNS
        Flex align values.
    • Constructor Detail

      • EFlexData

        public EFlexData()
        Creates a FlexData container without name and with a null value.
      • EFlexData

        public EFlexData​(Atom propertyAtom)
        Creates a FlexData container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • EFlexData

        public EFlexData​(UIComp uiComp)
        Creates a FlexData container for the component in question, used e.g. to fill in the defaults. This property is named Atom.LAYOUT.
        Parameters:
        uiComp - The component needing new layout data.
      • EFlexData

        public EFlexData​(Atom propertyAtom,
                         GProp<?>[] properties)
                  throws PropException
        Creates a FlexData container with the specified name and properties.
        Parameters:
        propertyAtom - the property atom.
        properties - the property array value for the property.
        Throws:
        PropException - as structural changes in containers on client is prohibited.
    • Method Detail

      • getTransferProps

        public java.lang.Object[] getTransferProps()
        Returns the list of properties that are transferable between layout managers.
        Specified by:
        getTransferProps in interface ITransferContainerProps
        Returns:
        The list of String's or Atom's that are transferable, 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.
      • getGroupText

        public java.lang.String getGroupText​(PropCnr[] pcs,
                                             java.lang.StringBuilder tooltip,
                                             boolean[] isHTML)
        Formats a string representation for the layout group. This method is called when a property has been changed for the group.
        Specified by:
        getGroupText in interface IELayoutProp
        Parameters:
        pcs - The property container being edited.
        tooltip - String buffer to fill with tool tip text.
        isHTML - Set [0] to true for HTML before returning if tooltip text is in HTML format.
        Returns:
        A string for the text label, the string buffer filled with the tooltip text.
      • getDefaultValue

        public GUnit getDefaultValue​(Atom name,
                                     GUnit defaultValue)
        Gets the default value to use when a value is defined and no previous text is available.
        Specified by:
        getDefaultValue in interface IDefaultPropertyValueProvider<GUnit>
        Parameters:
        name - The edited property name.
        defaultValue - The default value as defined by the property editor information.