/** * 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; }
/** * 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; }
/** * 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; }
protected void handleDocumentEvent(DocumentEvent e) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.handleDocumentEvent(e); } }
for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged();
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
protected void handleDocumentEvent(DocumentEvent e) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.handleDocumentEvent(e); } }
protected void handleDocumentEvent(DocumentEvent e) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.handleDocumentEvent(e); } }
protected void handleDocumentEvent(DocumentEvent e) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.handleDocumentEvent(e); } }
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(); } } }
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(); } } }
for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged();