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

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

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

origin: bobbylight/RSyntaxTextArea

@Test
public void testSetIconRowHeaderInheritsGutterBackground() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.getIconRowHeaderInheritsGutterBackground());
  gutter.setIconRowHeaderInheritsGutterBackground(true);
  Assert.assertTrue(gutter.getIconRowHeaderInheritsGutterBackground());
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testGetIconRowHeaderInheritsGutterBackground() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.getIconRowHeaderInheritsGutterBackground());
  gutter.setIconRowHeaderInheritsGutterBackground(true);
  Assert.assertTrue(gutter.getIconRowHeaderInheritsGutterBackground());
}
origin: bobbylight/RSyntaxTextArea

gutterBorderColor = gutter.getBorderColor();
activeLineRangeColor = gutter.getActiveLineRangeColor();
iconRowHeaderInheritsGutterBG = gutter.getIconRowHeaderInheritsGutterBackground();
lineNumberColor = gutter.getLineNumberColor();
lineNumberFont = gutter.getLineNumberFont().getFamily();
origin: bobbylight/RSyntaxTextArea

iconArea = kit.createIconRowHeader(textArea);
iconArea.setInheritsGutterBackground(
    getIconRowHeaderInheritsGutterBackground());
origin: bobbylight/RSyntaxTextArea

gutter.setBorderColor(Color.orange);
gutter.setActiveLineRangeColor(Color.orange);
gutter.setIconRowHeaderInheritsGutterBackground(!gutter.getIconRowHeaderInheritsGutterBackground());
gutter.setLineNumberColor(Color.orange);
gutter.setLineNumberFont(font);
origin: bobbylight/RSyntaxTextArea

Assert.assertEquals(Color.red, gutter.getBorderColor());
Assert.assertEquals(Color.red, gutter.getActiveLineRangeColor());
Assert.assertEquals(true,      gutter.getIconRowHeaderInheritsGutterBackground());
Assert.assertEquals(Color.red, gutter.getLineNumberColor());
origin: bobbylight/RSyntaxTextArea

Assert.assertEquals(gutter1.getBorderColor(), gutter2.getBorderColor());
Assert.assertEquals(gutter1.getActiveLineRangeColor(), gutter2.getActiveLineRangeColor());
Assert.assertEquals(gutter1.getIconRowHeaderInheritsGutterBackground(), gutter2.getIconRowHeaderInheritsGutterBackground());
Assert.assertEquals(gutter1.getLineNumberColor(), gutter2.getLineNumberColor());
Assert.assertEquals(gutter1.getLineNumberFont(), gutter2.getLineNumberFont());
origin: bobbylight/RSyntaxTextArea

Assert.assertNotEquals(gutter1.getBorderColor(), gutter2.getBorderColor());
Assert.assertNotEquals(gutter1.getActiveLineRangeColor(), gutter2.getActiveLineRangeColor());
Assert.assertNotEquals(gutter1.getIconRowHeaderInheritsGutterBackground(), gutter2.getIconRowHeaderInheritsGutterBackground());
Assert.assertNotEquals(gutter1.getLineNumberColor(), gutter2.getLineNumberColor());
Assert.assertNotEquals(gutter1.getLineNumberFont(), gutter2.getLineNumberFont());
origin: com.fifesoft/rsyntaxtextarea

gutterBorderColor = gutter.getBorderColor();
activeLineRangeColor = gutter.getActiveLineRangeColor();
iconRowHeaderInheritsGutterBG = gutter.getIconRowHeaderInheritsGutterBackground();
lineNumberColor = gutter.getLineNumberColor();
lineNumberFont = gutter.getLineNumberFont().getFamily();
origin: com.fifesoft/rsyntaxtextarea

iconArea = kit.createIconRowHeader(textArea);
iconArea.setInheritsGutterBackground(
    getIconRowHeaderInheritsGutterBackground());
org.fife.ui.rtextareaGuttergetIconRowHeaderInheritsGutterBackground

Javadoc

Returns whether the icon area inherits the gutter background (as opposed to painting with its own, default "panel" color, which is the default).

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

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Path (java.nio.file)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Permission (java.security)
    Legacy security code; do not use.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • From CI to AI: The AI layer in your organization
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