Class CIDProp

  • All Implemented Interfaces:
    EventListener, IGProp<java.lang.Integer>, java.lang.Cloneable

    public class CIDProp
    extends Int32Prop
    Component ID property is used to assign a unique value known on both client and server. The Component ID is used for references such as LabelFor.
    Christopher Mindus
    • Constructor Detail

      • CIDProp

        public CIDProp()
        Default constructor.
      • CIDProp

        public CIDProp​(Atom atom)
        Default constructor with name.
    • Method Detail

      • onPropParentChanged

        protected void onPropParentChanged​(PropCnr oldParent,
                                           PropCnr newParent)
        Called when the parent is set.
        onPropParentChanged in class GProp<java.lang.Integer>
        oldParent - The old parent (or null if none).
        newParent - The new parent (or null if none).
      • getComponentID

        public int getComponentID()
        Gets the Component ID.
      • appendPropValue

        protected void appendPropValue​(PropMgr propertyManager,
                                       SendTransaction trans,
                                       java.lang.Object value)
        Appends the integer property value. If uninitialized, -1 is appended.
        appendPropValue in class Int32Prop
        propertyManager - the property manager instance.
        trans - transaction to append the properties to.
        value - the value to append to the transaction, a reference to the current property value.