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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Toggles whether the fold indicator is enabled.
 *
 * @param enabled Whether the fold indicator should be enabled.
 * @see #isFoldIndicatorEnabled()
 */
public void setFoldIndicatorEnabled(boolean enabled) {
  if (foldIndicator!=null) {
    if (enabled) {
      add(foldIndicator, BorderLayout.LINE_END);
    }
    else {
      remove(foldIndicator);
    }
    revalidate();
  }
}
origin: bobbylight/RSyntaxTextArea

/**
 * Toggles whether or not line numbers are visible.
 *
 * @param enabled Whether or not line numbers should be visible.
 * @see #getLineNumbersEnabled()
 */
void setLineNumbersEnabled(boolean enabled) {
  if (lineNumberList!=null) {
    if (enabled) {
      add(lineNumberList);
    }
    else {
      remove(lineNumberList);
    }
    revalidate();
  }
}
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()
 */
void setIconRowHeaderEnabled(boolean enabled) {
  if (iconArea!=null) {
    if (enabled) {
      add(iconArea, BorderLayout.LINE_START);
    }
    else {
      remove(iconArea);
    }
    revalidate();
  }
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Toggles whether the fold indicator is enabled.
 *
 * @param enabled Whether the fold indicator should be enabled.
 * @see #isFoldIndicatorEnabled()
 */
public void setFoldIndicatorEnabled(boolean enabled) {
  if (foldIndicator!=null) {
    if (enabled) {
      add(foldIndicator, BorderLayout.LINE_END);
    }
    else {
      remove(foldIndicator);
    }
    revalidate();
  }
}
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()
 */
void setIconRowHeaderEnabled(boolean enabled) {
  if (iconArea!=null) {
    if (enabled) {
      add(iconArea, BorderLayout.LINE_START);
    }
    else {
      remove(iconArea);
    }
    revalidate();
  }
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Toggles whether or not line numbers are visible.
 *
 * @param enabled Whether or not line numbers should be visible.
 * @see #getLineNumbersEnabled()
 */
void setLineNumbersEnabled(boolean enabled) {
  if (lineNumberList!=null) {
    if (enabled) {
      add(lineNumberList);
    }
    else {
      remove(lineNumberList);
    }
    revalidate();
  }
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Toggles whether or not line numbers are visible.
 *
 * @param enabled Whether or not line numbers should be visible.
 * @see #getLineNumbersEnabled()
 */
void setLineNumbersEnabled(boolean enabled) {
  if (lineNumberList!=null) {
    if (enabled) {
      add(lineNumberList);
    }
    else {
      remove(lineNumberList);
    }
    revalidate();
  }
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Toggles whether or not line numbers are visible.
 *
 * @param enabled Whether or not line numbers should be visible.
 * @see #getLineNumbersEnabled()
 */
void setLineNumbersEnabled(boolean enabled) {
  if (lineNumberList!=null) {
    if (enabled) {
      add(lineNumberList);
    }
    else {
      remove(lineNumberList);
    }
    revalidate();
  }
}
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()
 */
void setIconRowHeaderEnabled(boolean enabled) {
  if (iconArea!=null) {
    if (enabled) {
      add(iconArea, BorderLayout.LINE_START);
    }
    else {
      remove(iconArea);
    }
    revalidate();
  }
}
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()
 */
void setIconRowHeaderEnabled(boolean enabled) {
  if (iconArea!=null) {
    if (enabled) {
      add(iconArea, BorderLayout.LINE_START);
    }
    else {
      remove(iconArea);
    }
    revalidate();
  }
}
org.fife.ui.rtextareaGutteradd

Javadoc

Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. This is useful for marking things such as source code errors.

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

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Sublime Text 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