Documentation of 'org.jdesktop.swingx.decorator.ComponentOrientationHighlighter' Java class
ComponentOrientationHighlighter
org.jdesktop.swingx.decorator

Class ComponentOrientationHighlighter

  • All Implemented Interfaces:
    Highlighter


    public class ComponentOrientationHighlighter
    extends AbstractHighlighter
    A Highlighter which applies the ComponentOrientation to the component.
    • Constructor Detail

      • ComponentOrientationHighlighter

        public ComponentOrientationHighlighter()
        Instantiates a ComponentOrientationHighlighter with ComponentOrientation.LEFT_TO_RIGHT. The Highlighter is applied always.
      • ComponentOrientationHighlighter

        public ComponentOrientationHighlighter(HighlightPredicate predicate)
        Instantiates a ComponentOrientationHighlighter with the given HighlightPredicate and ComponentOrientation.LEFT_TO_RIGHT.
        Parameters:
        predicate - the HighlightPredicate to use, may be null to default to ALWAYS.
      • ComponentOrientationHighlighter

        public ComponentOrientationHighlighter(java.awt.ComponentOrientation co)
        Instantiates a ComponentOrientationHighlighter with the given ComponentOrientation. The Highlighter is applied always.
        Parameters:
        co - the ComponentOrientation to apply
      • ComponentOrientationHighlighter

        public ComponentOrientationHighlighter(HighlightPredicate predicate,
                                               java.awt.ComponentOrientation co)
        Instantiates a ComponentOrientationHighlighter with the given ComponentOrientation and HighlightPredicate.
        Parameters:
        predicate - the HighlightPredicate to use, may be null to default to ALWAYS.
        co - the ComponentOrientation to apply, may be null
    • Method Detail

      • getComponentOrientation

        public java.awt.ComponentOrientation getComponentOrientation()
        Returns the ComponentOrientation to apply.
        Returns:
        the ComponentOrientation to apply, guaranteed to be not null.
      • setComponentOrientation

        public void setComponentOrientation(java.awt.ComponentOrientation co)
        Sets the ComponentOrientation to apply.
        Parameters:
        co - the co to set, may be null to denote fallback to LEFT_TO_RIGHT

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.