Class DesignerPropCnr

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable
    Direct Known Subclasses:
    PanelSettingsPropCnr

    public class DesignerPropCnr
    extends PropCnr
    Special Designer property container that is private. This container is typically used for panels to store information about the panel, such as zoom factor, device, theme.
    Author:
    Christopher Mindus
    • Constructor Detail

      • DesignerPropCnr

        public DesignerPropCnr()
        The constructor without name.
      • DesignerPropCnr

        public DesignerPropCnr​(Atom name)
        The constructor with a name.
        Parameters:
        name - The Atom name.
    • Method Detail

      • isPropPrivateAtCreation

        protected final boolean isPropPrivateAtCreation()
        Property is private!
        Overrides:
        isPropPrivateAtCreation in class GProp<GProp<?>[]>
        Returns:
        true if the property should be set to private at creation, false for default.
      • shouldCreateProps

        protected final boolean shouldCreateProps​(org.w3c.dom.Element element)
        Checks if the property should be created.
        Overrides:
        shouldCreateProps in class PropCnr
        Parameters:
        element - The element in question.
        Returns:
        true if this property container is running in the Designer, false otherwise.