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

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

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

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

@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

lineNumberFontSize = gutter.getLineNumberFont().getSize();
foldIndicatorFG = gutter.getFoldIndicatorForeground();
foldBG = gutter.getFoldBackground();
armedFoldBG = gutter.getArmedFoldBackground();
origin: bobbylight/RSyntaxTextArea

Assert.assertEquals(Color.red, gutter.getFoldBackground());
Assert.assertEquals(Color.red, gutter.getArmedFoldBackground());
origin: bobbylight/RSyntaxTextArea

Assert.assertEquals(gutter1.getLineNumberFont(), gutter2.getLineNumberFont());
Assert.assertEquals(gutter1.getFoldIndicatorForeground(), gutter2.getFoldIndicatorForeground());
Assert.assertEquals(gutter1.getFoldBackground(), gutter2.getFoldBackground());
origin: bobbylight/RSyntaxTextArea

Assert.assertNotEquals(gutter1.getLineNumberFont(), gutter2.getLineNumberFont());
Assert.assertNotEquals(gutter1.getFoldIndicatorForeground(), gutter2.getFoldIndicatorForeground());
Assert.assertNotEquals(gutter1.getFoldBackground(), gutter2.getFoldBackground());
origin: com.fifesoft/rsyntaxtextarea

lineNumberFontSize = gutter.getLineNumberFont().getSize();
foldIndicatorFG = gutter.getFoldIndicatorForeground();
foldBG = gutter.getFoldBackground();
armedFoldBG = gutter.getArmedFoldBackground();
org.fife.ui.rtextareaGuttergetFoldBackground

Javadoc

Returns 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

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top Vim plugins
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