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

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

Best Java code snippets using org.fife.ui.rtextarea.Gutter.setBorderColor (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) {
  gutter.setBackground(gutterBackgroundColor);
  gutter.setBorderColor(gutterBorderColor);
  gutter.setActiveLineRangeColor(activeLineRangeColor);
  gutter.setIconRowHeaderInheritsGutterBackground(iconRowHeaderInheritsGutterBG);
origin: UNIVALI-LITE/Portugol-Studio

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

gutter.setBorderColor(Color.orange);
gutter.setActiveLineRangeColor(Color.orange);
gutter.setIconRowHeaderInheritsGutterBackground(!gutter.getIconRowHeaderInheritsGutterBackground());
origin: eu.mihosoft.vrl/vrl

@Override
public void styleChanged(Style style) {
  
  //getGutter().setBackground(style.getBaseValues().getColor(VCodeEditor.LINE_NUMBER_FIELD_COLOR_KEY));
  getGutter().setLineNumberColor(style.getBaseValues().getColor(VCodeEditor.LINE_NUMBER_COLOR_KEY));
  getGutter().setBorderColor(style.getBaseValues().getColor(VCodeEditor.BORDER_COLOR_KEY));
}
origin: com.fifesoft/rsyntaxtextarea

if (gutter!=null) {
  gutter.setBackground(gutterBackgroundColor);
  gutter.setBorderColor(gutterBorderColor);
  gutter.setActiveLineRangeColor(activeLineRangeColor);
  gutter.setIconRowHeaderInheritsGutterBackground(iconRowHeaderInheritsGutterBG);
org.fife.ui.rtextareaGuttersetBorderColor

Javadoc

Sets the color for 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.
  • 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.
  • toggleBookmark
    Programatically toggles whether there is a bookmark for the specified line. If bookmarking is not en
  • setLineNumbersEnabled,
  • toggleBookmark,
  • add,
  • getBackground,
  • getBorder,
  • getComponent,
  • getComponentCount,
  • remove,
  • repaint

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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