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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Returns the color of the "border" line.
 *
 * @return The color.
 * @see #setBorderColor(Color)
 */
public Color getBorderColor() {
  return ((GutterBorder)getBorder()).getColor();
}
origin: bobbylight/RSyntaxTextArea

/**
 * {@inheritDoc}
 */
@Override
public void setComponentOrientation(ComponentOrientation o) {
  // Some LaFs might do fun stuff, resulting in this method being called
  // before a border is installed.
  if (getBorder() instanceof GutterBorder) {
    // Reuse the border to preserve its color.
    if (o.isLeftToRight()) {
      ((GutterBorder)getBorder()).setEdges(0, 0, 0, 1);
    }
    else {
      ((GutterBorder)getBorder()).setEdges(0, 1, 0, 0);
    }
  }
  super.setComponentOrientation(o);
}
origin: bobbylight/RSyntaxTextArea

/**
 * Sets the color for the "border" line.
 *
 * @param color The new color.
 * @see #getBorderColor()
 */
public void setBorderColor(Color color) {
  ((GutterBorder)getBorder()).setColor(color);
  repaint();
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns the color of the "border" line.
 *
 * @return The color.
 * @see #setBorderColor(Color)
 */
public Color getBorderColor() {
  return ((GutterBorder)getBorder()).getColor();
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Returns the color of the "border" line.
 *
 * @return The color.
 * @see #setBorderColor(Color)
 */
public Color getBorderColor() {
  return ((GutterBorder)getBorder()).getColor();
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Returns the color of the "border" line.
 *
 * @return The color.
 * @see #setBorderColor(Color)
 */
public Color getBorderColor() {
  return ((GutterBorder)getBorder()).getColor();
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * {@inheritDoc}
 */
@Override
public void setComponentOrientation(ComponentOrientation o) {
  // Some LaFs might do fun stuff, resulting in this method being called
  // before a border is installed.
  if (getBorder() instanceof GutterBorder) {
    // Reuse the border to preserve its color.
    if (o.isLeftToRight()) {
      ((GutterBorder)getBorder()).setEdges(0, 0, 0, 1);
    }
    else {
      ((GutterBorder)getBorder()).setEdges(0, 1, 0, 0);
    }
  }
  super.setComponentOrientation(o);
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Sets the color for the "border" line.
 *
 * @param color The new color.
 * @see #getBorderColor()
 */
public void setBorderColor(Color color) {
  ((GutterBorder)getBorder()).setColor(color);
  repaint();
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * {@inheritDoc}
 */
public void setComponentOrientation(ComponentOrientation o) {
  // Reuse the border to preserve its color.
  if (o.isLeftToRight()) {
    ((GutterBorder)getBorder()).setEdges(0, 0, 0, 1);
  }
  else {
    ((GutterBorder)getBorder()).setEdges(0, 1, 0, 0);
  }
  super.setComponentOrientation(o);
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Sets the color for the "border" line.
 *
 * @param color The new color.
 * @see #getBorderColor()
 */
public void setBorderColor(Color color) {
  ((GutterBorder)getBorder()).setColor(color);
  repaint();
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Sets the color for the "border" line.
 *
 * @param color The new color.
 * @see #getBorderColor()
 */
public void setBorderColor(Color color) {
  ((GutterBorder)getBorder()).setColor(color);
  repaint();
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * {@inheritDoc}
 */
public void setComponentOrientation(ComponentOrientation o) {
  // Reuse the border to preserve its color.
  if (o.isLeftToRight()) {
    ((GutterBorder)getBorder()).setEdges(0, 0, 0, 1);
  }
  else {
    ((GutterBorder)getBorder()).setEdges(0, 1, 0, 0);
  }
  super.setComponentOrientation(o);
}
org.fife.ui.rtextareaGuttergetBorder

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

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Runner (org.openjdk.jmh.runner)
  • Top PhpStorm 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