Class EditorMinimapOptions

java.lang.Object
org.primefaces.json.JSONObject
com.github.blutorange.primefaces.config.monacoeditor.EditorMinimapOptions
All Implemented Interfaces:
Serializable

public class EditorMinimapOptions
extends org.primefaces.json.JSONObject
implements Serializable
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Returns:
      Enable the rendering of the minimap. Defaults to true.
    • setEnabled

      public EditorMinimapOptions setEnabled​(Boolean enabled)
      Parameters:
      enabled - Enable the rendering of the minimap. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • getMaxColumn

      public Number getMaxColumn()
      Returns:
      Limit the width of the minimap to render at most a certain number of columns. Defaults to 120.
    • setMaxColumn

      public EditorMinimapOptions setMaxColumn​(Number maxColumn)
      Parameters:
      maxColumn - Limit the width of the minimap to render at most a certain number of columns. Defaults to 120.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isRenderCharacters

      public Boolean isRenderCharacters()
      Returns:
      Render the actual text on a line (as opposed to color blocks). Defaults to true.
    • setRenderCharacters

      public EditorMinimapOptions setRenderCharacters​(Boolean renderCharacters)
      Parameters:
      renderCharacters - Render the actual text on a line (as opposed to color blocks). Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • getScale

      public Number getScale()
      Returns:
      Relative size of the font in the minimap. Defaults to 1.
    • setScale

      public EditorMinimapOptions setScale​(Number scale)
      Parameters:
      scale - Relative size of the font in the minimap. Defaults to 1.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • getShowSlider

      public String getShowSlider()
      Returns:
      Control the rendering of the minimap slider. Defaults to mouseover.
    • setShowSlider

      public EditorMinimapOptions setShowSlider​(EMinimapShowSlider showSlider)
      Parameters:
      showSlider - Control the rendering of the minimap slider. Defaults to mouseover.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • setShowSlider

      public EditorMinimapOptions setShowSlider​(String showSlider)
    • getSide

      public String getSide()
      Returns:
      Control the side of the minimap in editor. Defaults to right.
    • setSide

      public EditorMinimapOptions setSide​(EMinimapSide side)
      Parameters:
      side - Control the side of the minimap in editor. Defaults to right.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • setSide

      public EditorMinimapOptions setSide​(String side)