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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 */
public boolean getLineNumbersEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==lineNumberList) {
      return true;
    }
  }
  return false;
}
origin: bobbylight/RSyntaxTextArea

/**
 * Returns whether the icon row header is enabled.
 *
 * @return Whether the icon row header is enabled.
 */
public boolean isIconRowHeaderEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==iconArea) {
      return true;
    }
  }
  return false;
}
origin: bobbylight/RSyntaxTextArea

/**
 * Returns whether the fold indicator is enabled.
 *
 * @return Whether the fold indicator is enabled.
 * @see #setFoldIndicatorEnabled(boolean)
 */
public boolean isFoldIndicatorEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==foldIndicator) {
      return true;
    }
  }
  return false;
}
origin: bobbylight/RSyntaxTextArea

protected void handleDocumentEvent(DocumentEvent e) {
  for (int i=0; i<getComponentCount(); i++) {
    AbstractGutterComponent agc =
          (AbstractGutterComponent)getComponent(i);
    agc.handleDocumentEvent(e);
  }
}
origin: bobbylight/RSyntaxTextArea

for (int i=0; i<getComponentCount(); i++) {
  AbstractGutterComponent agc =
        (AbstractGutterComponent)getComponent(i);
  agc.lineHeightsChanged();
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 */
public boolean getLineNumbersEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==lineNumberList) {
      return true;
    }
  }
  return false;
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 */
public boolean getLineNumbersEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==lineNumberList) {
      return true;
    }
  }
  return false;
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns whether the icon row header is enabled.
 *
 * @return Whether the icon row header is enabled.
 */
public boolean isIconRowHeaderEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==iconArea) {
      return true;
    }
  }
  return false;
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns whether the fold indicator is enabled.
 *
 * @return Whether the fold indicator is enabled.
 * @see #setFoldIndicatorEnabled(boolean)
 */
public boolean isFoldIndicatorEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==foldIndicator) {
      return true;
    }
  }
  return false;
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Returns whether the icon row header is enabled.
 *
 * @return Whether the icon row header is enabled.
 */
public boolean isIconRowHeaderEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==iconArea) {
      return true;
    }
  }
  return false;
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Returns whether the icon row header is enabled.
 *
 * @return Whether the icon row header is enabled.
 */
public boolean isIconRowHeaderEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==iconArea) {
      return true;
    }
  }
  return false;
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 */
public boolean getLineNumbersEnabled() {
  for (int i=0; i<getComponentCount(); i++) {
    if (getComponent(i)==lineNumberList) {
      return true;
    }
  }
  return false;
}
origin: org.codehaus.jtstand/jtstand-editor

protected void handleDocumentEvent(DocumentEvent e) {
  for (int i=0; i<getComponentCount(); i++) {
    AbstractGutterComponent agc =
          (AbstractGutterComponent)getComponent(i);
    agc.handleDocumentEvent(e);
  }
}
origin: com.fifesoft/rsyntaxtextarea

protected void handleDocumentEvent(DocumentEvent e) {
  for (int i=0; i<getComponentCount(); i++) {
    AbstractGutterComponent agc =
          (AbstractGutterComponent)getComponent(i);
    agc.handleDocumentEvent(e);
  }
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

protected void handleDocumentEvent(DocumentEvent e) {
  for (int i=0; i<getComponentCount(); i++) {
    AbstractGutterComponent agc =
          (AbstractGutterComponent)getComponent(i);
    agc.handleDocumentEvent(e);
  }
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

public void propertyChange(PropertyChangeEvent e) {
  String name = e.getPropertyName();
  // If they change the text area's font, we need to update cell
  // heights to match the font's height.
  if ("font".equals(name) ||
      RSyntaxTextArea.SYNTAX_SCHEME_PROPERTY.equals(name)) {
    for (int i=0; i<getComponentCount(); i++) {
      AbstractGutterComponent agc =
            (AbstractGutterComponent)getComponent(i);
      agc.lineHeightsChanged();
    }
  }
}
origin: org.codehaus.jtstand/jtstand-editor

public void propertyChange(PropertyChangeEvent e) {
  String name = e.getPropertyName();
  // If they change the text area's font, we need to update cell
  // heights to match the font's height.
  if ("font".equals(name) ||
      RSyntaxTextArea.SYNTAX_SCHEME_PROPERTY.equals(name)) {
    for (int i=0; i<getComponentCount(); i++) {
      AbstractGutterComponent agc =
            (AbstractGutterComponent)getComponent(i);
      agc.lineHeightsChanged();
    }
  }
}
origin: com.fifesoft/rsyntaxtextarea

for (int i=0; i<getComponentCount(); i++) {
  AbstractGutterComponent agc =
        (AbstractGutterComponent)getComponent(i);
  agc.lineHeightsChanged();
org.fife.ui.rtextareaGuttergetComponent

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Path (java.nio.file)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Permission (java.security)
    Legacy security code; do not use.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • 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