Codota Logo
Gutter.getIconRowHeaderInheritsGutterBackground
Code IndexAdd Codota 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)

  • Common ways to obtain Gutter
private void myMethod () {
Gutter g =
  • Codota IconRTextArea textArea;new Gutter(textArea)
  • Codota IconRTextScrollPane rTextScrollPane;rTextScrollPane.getGutter()
  • Codota IconRTextArea textArea;RSyntaxUtilities.getGutter(textArea)
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JTable (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now