congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Gutter.getBorderColor
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: bobbylight/RSyntaxTextArea

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

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

if (gutter!=null) {
  gutterBackgroundColor = gutter.getBackground();
  gutterBorderColor = gutter.getBorderColor();
  activeLineRangeColor = gutter.getActiveLineRangeColor();
  iconRowHeaderInheritsGutterBG = gutter.getIconRowHeaderInheritsGutterBackground();
origin: bobbylight/RSyntaxTextArea

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

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

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

if (gutter!=null) {
  gutterBackgroundColor = gutter.getBackground();
  gutterBorderColor = gutter.getBorderColor();
  activeLineRangeColor = gutter.getActiveLineRangeColor();
  iconRowHeaderInheritsGutterBG = gutter.getIconRowHeaderInheritsGutterBackground();
org.fife.ui.rtextareaGuttergetBorderColor

Javadoc

Returns the color of the "border" line.

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

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CodeWhisperer alternatives
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