Tabnine Logo
Gutter.setFoldBackground
Code IndexAdd Tabnine to your IDE (free)

How to use
setFoldBackground
method
in
org.fife.ui.rtextarea.Gutter

Best Java code snippets using org.fife.ui.rtextarea.Gutter.setFoldBackground (Showing top 6 results out of 315)

origin: bobbylight/RSyntaxTextArea

@Test
public void testGetFoldBackground() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Color color = Color.red;
  gutter.setFoldBackground(color);
  Assert.assertEquals(color, gutter.getFoldBackground());
  color = Color.green;
  gutter.setFoldBackground(color);
  Assert.assertEquals(color, gutter.getFoldBackground());
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testSetFoldBackground() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Color color = Color.red;
  gutter.setFoldBackground(color);
  Assert.assertEquals(color, gutter.getFoldBackground());
  color = Color.green;
  gutter.setFoldBackground(color);
  Assert.assertEquals(color, gutter.getFoldBackground());
  // Sets to default - not a public value, but also not Color.green.
  gutter.setFoldBackground(null);
  Assert.assertNotNull(gutter.getFoldBackground());
  Assert.assertNotEquals(color, gutter.getFoldBackground());
}
origin: bobbylight/RSyntaxTextArea

gutter.setLineNumberFont(font);
gutter.setFoldIndicatorForeground(foldIndicatorFG);
gutter.setFoldBackground(foldBG);
gutter.setArmedFoldBackground(armedFoldBG);
origin: UNIVALI-LITE/Portugol-Studio

gutter.setLineNumberColor(          new Color(Integer.parseInt(temaEditor.getString("numeros_das_linhas"), 16)));
gutter.setFoldIndicatorForeground(  new Color(Integer.parseInt(temaEditor.getString("dobrador_de_codigo"), 16)));
gutter.setFoldBackground(           new Color(Integer.parseInt(temaEditor.getString("background_editor"), 16)));
origin: bobbylight/RSyntaxTextArea

gutter.setLineNumberFont(font);
gutter.setFoldIndicatorForeground(Color.orange);
gutter.setFoldBackground(Color.orange);
gutter.setArmedFoldBackground(Color.orange);
origin: com.fifesoft/rsyntaxtextarea

gutter.setLineNumberFont(font);
gutter.setFoldIndicatorForeground(foldIndicatorFG);
gutter.setFoldBackground(foldBG);
gutter.setArmedFoldBackground(armedFoldBG);
org.fife.ui.rtextareaGuttersetFoldBackground

Javadoc

Sets the background color used by the (default) fold icons.

Popular methods of Gutter

  • setLineNumberColor
    Sets the color to use to paint line numbers.
  • setBackground
  • <init>
    Constructor.
  • addLineTrackingIcon
    Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. T
  • addOffsetTrackingIcon
    Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. T
  • getBookmarks
    Returns the bookmarks known to this gutter.
  • getLineNumbersEnabled
    Returns true if the line numbers are enabled and visible.
  • isIconRowHeaderEnabled
    Returns whether the icon row header is enabled.
  • setBorderColor
    Sets the color for the "border" line.
  • setIconRowHeaderEnabled
    Toggles whether the icon row header (used for breakpoints, bookmarks, etc.) is enabled.
  • setLineNumberFont
    Sets the font used for line numbers.
  • setLineNumbersEnabled
    Toggles whether or not line numbers are visible.
  • setLineNumberFont,
  • setLineNumbersEnabled,
  • toggleBookmark,
  • add,
  • getBackground,
  • getBorder,
  • getComponent,
  • getComponentCount,
  • remove,
  • repaint

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now