Class UISpinner

All Implemented Interfaces:
EventListener, IFocusComp, IMessageBox, IComponent, ICodeItemArrayContainer, ICodeItemsOwner, ICodeItemsOwnerSelectionSupport, ICustomDataProvider, IGProp<GProp<?>[]>, IKStringArrayContainer, IPropCnr, IStringArrayContainer, IUIComp, IUICompRelativeTarget, IUIContextMenuOwner, IUIFocusComp, IUIHint, IUILabelForTarget, IUIIndexedSelectionComp, IUISelectionComp, IUISingleIndexedSelectionComp, IUIPlainTextComponent, IUITextComponent, IVSColumnBestValueListener, IVSColumnListener, IVSComponentListener, IVSComponentState, IVSFieldListener, Cloneable
Direct Known Subclasses:
EUISpinner

public class UISpinner extends UIAbstractListChoice
Spinner UI component.
Author:
Christopher Mindus
  • Constructor Details

    • UISpinner

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

      public UISpinner(Atom propertyAtom)
      Creates the component with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • clone

      public UISpinner clone()
      Creates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.
      Overrides:
      clone in class UIAbstractListChoice
    • getMinimum

      public double getMinimum()
      Gets the minimum value.
      Returns:
      The minimum value or the default minimum if the minimum value property is undefined.
    • getMaximum

      public double getMaximum()
      Gets the maximum value.
      Returns:
      The maximum value or the default maximum if the maximum value property is undefined.
    • getMinimumDefault

      public double getMinimumDefault()
      Gets the default minimum value.
      Returns:
      Zero, the default minimum value.
    • getMaximumDefault

      public double getMaximumDefault()
      Gets the default maximum value.
      Returns:
      100, the default maximum value.