Class FolderSettingsProp

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, ISelectorExpression, ISelectorOwner, Cloneable
Direct Known Subclasses:
EditorFolderSettingsProp

public class FolderSettingsProp extends PropCnr implements ISelectorExpression, ISelectorOwner
This folder settings property hold settings for a folder, typically a Selector and a description.
Author:
Christopher Mindus
  • Constructor Details

    • FolderSettingsProp

      public FolderSettingsProp()
      Creates the client properties without a name. The name must be set in all cases using the setPropertyAtom call.
    • FolderSettingsProp

      public FolderSettingsProp(Atom atom)
      Creates the client properties without a name. The name must be set in all cases using the setPropertyAtom call.
      Parameters:
      atom - The atom name.
  • Method Details

    • isPropPrivateAtCreation

      protected boolean isPropPrivateAtCreation()
      Settings are private at creation.
      Overrides:
      isPropPrivateAtCreation in class GProp<GProp<?>[]>
      Returns:
      true, always.
    • getDescription

      public String getDescription()
      Gets the description of this folder.
      Returns:
      The defined description, or null for none.
    • isSelected

      public boolean isSelected(EnvProps envProps)
      Called to resolve the SelectorExpression by custom Java code.
      Specified by:
      isSelected in interface ISelectorExpression
      Parameters:
      envProps - The Client Environment properties.
      Returns:
      true if the Selector is selected to be used, false otherwise.
    • hasSettings

      public boolean hasSettings()
      Checks if no settings are set at all.
    • getThemesMask

      public GThemes getThemesMask()
      Gets the Themes mask for panels.
      Returns:
      The mask, or null for none.