Enum FoldIndicatorStyle

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FoldIndicatorStyle>

    public enum FoldIndicatorStyle
    extends java.lang.Enum<FoldIndicatorStyle>
    Different rendering styles for the fold indicator inside a Gutter.
    Version:
    1.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLASSIC
      Fold icons are rendered as +/- symbols in boxes.
      MODERN
      Fold icons are rendered as a chevron indicating the fold's collapsed or expanded state.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FoldIndicatorStyle()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FoldIndicatorStyle valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FoldIndicatorStyle[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CLASSIC

        public static final FoldIndicatorStyle CLASSIC
        Fold icons are rendered as +/- symbols in boxes. When the user hovers over an expanded fold's icon, a line is drawn to indicate the range of lines in the editor that belong to that fold's region.
      • MODERN

        public static final FoldIndicatorStyle MODERN
        Fold icons are rendered as a chevron indicating the fold's collapsed or expanded state. There is no visual indication of a fold's line range.
    • Constructor Detail

      • FoldIndicatorStyle

        private FoldIndicatorStyle()
    • Method Detail

      • values

        public static FoldIndicatorStyle[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FoldIndicatorStyle c : FoldIndicatorStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FoldIndicatorStyle valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null