Class ScrollControl

    • Constructor Detail

      • ScrollControl

        public ScrollControl()
        Default constructor with no content component.
      • ScrollControl

        public ScrollControl​(Component component)
        Component constructor.
        Parameters:
        component - The single child component, or null if this control should have no child component.
    • Method Detail

      • getEnableable

        protected Enableable getEnableable()
        Returns:
        The enableable object decorated by this component.
      • getContent

        public Component getContent()
        Specified by:
        getContent in interface ContentComponent
        Returns:
        The content child component, or null if this component does not have a content child component.
      • getStatus

        public Control.Status getStatus()
        Specified by:
        getStatus in interface Control
        Returns:
        The status of the current user input, or null if there is no status to report.
      • setStatus

        protected void setStatus​(Control.Status newStatus)
        Sets the status of the current user input. This is a bound property.
        Parameters:
        newStatus - The new status of the current user input, or null if there is no status to report.
        See Also:
        Control.STATUS_PROPERTY
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface Enableable
        Returns:
        Whether the object is enabled and can receive user input.
      • setEnabled

        public void setEnabled​(boolean newEnabled)
        Description copied from interface: Enableable
        Sets whether the object is enabled and can receive user input. This is a bound property of type Boolean.
        Specified by:
        setEnabled in interface Enableable
        Parameters:
        newEnabled - true if the object should indicate and accept user input.
        See Also:
        Enableable.ENABLED_PROPERTY