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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Toggles whether the icon row header (used for breakpoints, bookmarks,
 * etc.) is enabled.
 *
 * @param enabled Whether the icon row header is enabled.
 * @see #isIconRowHeaderEnabled()
 */
public void setIconRowHeaderEnabled(boolean enabled) {
  gutter.setIconRowHeaderEnabled(enabled);
  checkGutterVisibility();
}
origin: bobbylight/RSyntaxTextArea

/**
 * Sets whether bookmarking is enabled.  Note that a bookmarking icon
 * must be set via {@link #setBookmarkIcon(Icon)} before bookmarks are
 * truly enabled.
 *
 * @param enabled Whether bookmarking is enabled.
 * @see #isBookmarkingEnabled()
 * @see #setBookmarkIcon(Icon)
 */
public void setBookmarkingEnabled(boolean enabled) {
  iconArea.setBookmarkingEnabled(enabled);
  if (enabled && !isIconRowHeaderEnabled()) {
    setIconRowHeaderEnabled(true);
  }
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testSetIconRowHeaderEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.isIconRowHeaderEnabled());
  gutter.setIconRowHeaderEnabled(true);
  Assert.assertTrue(gutter.isIconRowHeaderEnabled());
  gutter.setIconRowHeaderEnabled(false);
  Assert.assertFalse(gutter.isIconRowHeaderEnabled());
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testIsIconRowHeaderEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.isIconRowHeaderEnabled());
  gutter.setIconRowHeaderEnabled(true);
  Assert.assertTrue(gutter.isIconRowHeaderEnabled());
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Toggles whether the icon row header (used for breakpoints, bookmarks,
 * etc.) is enabled.
 *
 * @param enabled Whether the icon row header is enabled.
 * @see #isIconRowHeaderEnabled()
 */
public void setIconRowHeaderEnabled(boolean enabled) {
  gutter.setIconRowHeaderEnabled(enabled);
  checkGutterVisibility();
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Toggles whether the icon row header (used for breakpoints, bookmarks,
 * etc.) is enabled.
 *
 * @param enabled Whether the icon row header is enabled.
 * @see #isIconRowHeaderEnabled()
 */
public void setIconRowHeaderEnabled(boolean enabled) {
  gutter.setIconRowHeaderEnabled(enabled);
  checkGutterVisibility();
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Toggles whether the icon row header (used for breakpoints, bookmarks,
 * etc.) is enabled.
 *
 * @param enabled Whether the icon row header is enabled.
 * @see #isIconRowHeaderEnabled()
 */
public void setIconRowHeaderEnabled(boolean enabled) {
  gutter.setIconRowHeaderEnabled(enabled);
  checkGutterVisibility();
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Sets whether bookmarking is enabled.  Note that a bookmarking icon
 * must be set via {@link #setBookmarkIcon(Icon)} before bookmarks are
 * truly enabled.
 *
 * @param enabled Whether bookmarking is enabled.
 * @see #isBookmarkingEnabled()
 * @see #setBookmarkIcon(Icon)
 */
public void setBookmarkingEnabled(boolean enabled) {
  iconArea.setBookmarkingEnabled(enabled);
  if (enabled && !isIconRowHeaderEnabled()) {
    setIconRowHeaderEnabled(true);
  }
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Sets whether bookmarking is enabled.  Note that a bookmarking icon
 * must be set via {@link #setBookmarkIcon(Icon)} before bookmarks are
 * truly enabled.
 *
 * @param enabled Whether bookmarking is enabled.
 * @see #isBookmarkingEnabled()
 * @see #setBookmarkIcon(Icon)
 */
public void setBookmarkingEnabled(boolean enabled) {
  iconArea.setBookmarkingEnabled(enabled);
  if (enabled && !isIconRowHeaderEnabled()) {
    setIconRowHeaderEnabled(true);
  }
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Sets whether bookmarking is enabled.  Note that a bookmarking icon
 * must be set via {@link #setBookmarkIcon(Icon)} before bookmarks are
 * truly enabled.
 *
 * @param enabled Whether bookmarking is enabled.
 * @see #isBookmarkingEnabled()
 * @see #setBookmarkIcon(Icon)
 */
public void setBookmarkingEnabled(boolean enabled) {
  iconArea.setBookmarkingEnabled(enabled);
  if (enabled && !isIconRowHeaderEnabled()) {
    setIconRowHeaderEnabled(true);
  }
}
org.fife.ui.rtextareaGuttersetIconRowHeaderEnabled

Javadoc

Toggles whether the icon row header (used for breakpoints, bookmarks, etc.) is enabled.

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.
  • 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

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Best plugins for Eclipse
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