Class EGridData

    • Field Detail

      • setup

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

      • EGridData

        public EGridData()
        Creates a GridData container without name and with a null value.
      • EGridData

        public EGridData​(Atom propertyAtom)
        Creates a GridData container with the specified name with a null value.
        propertyAtom - the property atom.
      • EGridData

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

        public EGridData​(Atom propertyAtom,
                         GProp<?>[] properties)
                  throws PropException
        Creates a GridData container with the specified name and properties.
        propertyAtom - the property atom.
        properties - the property array value for the property.
        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
        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<?>[]>
        verify in class PropCnr
        verification - The property verification class.
        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
        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.
        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>
        name - The edited property name.
        defaultValue - The default value as defined by the property editor information.