Class Step

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Component, Scope, ComponentCtrl

    public class Step
    extends XulElement
    A step is used for displaying user navigation, it should be placed inside a Stepbar.

    Only support browsers that support Flex. (IE10+, Edge, Chrome, Firefox, Safari)

    Default getZclass(): z-step.

    Since:
    9.0.0
    Author:
    jameschu
    See Also:
    Serialized Form
    • Constructor Detail

      • Step

        public Step()
      • Step

        public Step​(java.lang.String title)
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Returns the title.

        Default: empty.

      • setTitle

        public void setTitle​(java.lang.String title)
        Sets the title.
        Parameters:
        title -
      • setIconSclass

        public void setIconSclass​(java.lang.String iconSclass)
        Sets the icon font
        Parameters:
        iconSclass - a CSS class name for the icon font
      • getIconSclass

        public java.lang.String getIconSclass()
        Returns the icon font
      • isComplete

        public boolean isComplete()
        Returns whether this step is complete.

        Default: false.

        Returns:
        whether this step is complete
      • setComplete

        public void setComplete​(boolean complete)
        Sets whether this step is complete.
        Parameters:
        complete - whether this step is complete
      • setCompleteDirectly

        protected void setCompleteDirectly​(boolean complete)
      • isError

        public boolean isError()
        Returns whether this step is in error.

        Default: false.

        Returns:
        whether this step is in error
      • setError

        public void setError​(boolean error)
        Sets whether this step is in error.
        Parameters:
        error - whether this step is in error.
      • getIndex

        public int getIndex()
        Returns the index of step in the stepbar.
        Returns:
        stepbar
      • isChildable

        protected boolean isChildable()
        Description copied from class: AbstractComponent
        Returns whether this component can have a child.

        Default: return true (means it can have children).

        Overrides:
        isChildable in class AbstractComponent