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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Paints the background of this component.
 *
 * @param g The graphics context.
 * @param visibleRect The visible bounds of this component.
 */
protected void paintBackgroundImpl(Graphics g, Rectangle visibleRect) {
  Color bg = getBackground();
  if (inheritsGutterBackground && getGutter()!=null) {
    bg = getGutter().getBackground();
  }
  g.setColor(bg);
  g.fillRect(0,visibleRect.y, width,visibleRect.height);
}
origin: bobbylight/RSyntaxTextArea

bg = getGutter().getBackground();
origin: bobbylight/RSyntaxTextArea

bg = getGutter().getBackground();
origin: bobbylight/RSyntaxTextArea

gutterBackgroundColor = gutter.getBackground();
gutterBorderColor = gutter.getBorderColor();
activeLineRangeColor = gutter.getActiveLineRangeColor();
origin: com.fifesoft/rsyntaxtextarea

/**
 * Paints the background of this component.
 *
 * @param g The graphics context.
 * @param visibleRect The visible bounds of this component.
 */
protected void paintBackgroundImpl(Graphics g, Rectangle visibleRect) {
  Color bg = getBackground();
  if (inheritsGutterBackground && getGutter()!=null) {
    bg = getGutter().getBackground();
  }
  g.setColor(bg);
  g.fillRect(0,visibleRect.y, width,visibleRect.height);
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

bg = getGutter().getBackground();
origin: com.fifesoft/rsyntaxtextarea

bg = getGutter().getBackground();
origin: bobbylight/RSyntaxTextArea

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

Assert.assertEquals(textArea1.getHyperlinkForeground(), textArea2.getHyperlinkForeground());
Assert.assertEquals(gutter1.getBackground(), gutter2.getBackground());
Assert.assertEquals(gutter1.getBorderColor(), gutter2.getBorderColor());
Assert.assertEquals(gutter1.getActiveLineRangeColor(), gutter2.getActiveLineRangeColor());
origin: bobbylight/RSyntaxTextArea

      textArea2.getSecondaryLanguageBackground(i+1));
Assert.assertNotEquals(gutter1.getBackground(), gutter2.getBackground());
Assert.assertNotEquals(gutter1.getBorderColor(), gutter2.getBorderColor());
Assert.assertNotEquals(gutter1.getActiveLineRangeColor(), gutter2.getActiveLineRangeColor());
origin: com.fifesoft/rsyntaxtextarea

bg = getGutter().getBackground();
origin: com.fifesoft/rsyntaxtextarea

gutterBackgroundColor = gutter.getBackground();
gutterBorderColor = gutter.getBorderColor();
activeLineRangeColor = gutter.getActiveLineRangeColor();
org.fife.ui.rtextareaGuttergetBackground

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,
  • getBorder,
  • getComponent,
  • getComponentCount,
  • remove,
  • repaint

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JButton (javax.swing)
  • JTextField (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Table (org.hibernate.mapping)
    A relational table
  • Best IntelliJ 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