Class DesignerPropCnr

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, 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 Details

    • DesignerPropCnr

      public DesignerPropCnr()
      The constructor without name.
    • DesignerPropCnr

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

    • 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(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.