net.sourceforge.squirrel_sql.plugins.syntax.rsyntax
Class SquirrelRSyntaxTextArea

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.text.JTextComponent
                  extended by javax.swing.JTextArea
                      extended by org.fife.ui.rtextarea.RTextArea
                          extended by org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
                              extended by net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.SquirrelRSyntaxTextArea
All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable, Accessible, Scrollable, org.fife.ui.rsyntaxtextarea.SyntaxConstants

public class SquirrelRSyntaxTextArea
extends org.fife.ui.rsyntaxtextarea.RSyntaxTextArea

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.fife.ui.rtextarea.RTextArea
org.fife.ui.rtextarea.RTextArea.RTextAreaMutableCaretEvent
 
Nested classes/interfaces inherited from class javax.swing.JTextArea
JTextArea.AccessibleJTextArea
 
Nested classes/interfaces inherited from class javax.swing.text.JTextComponent
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
static String BACKGROUND_IMAGE_PROPERTY
           
static String CURRENT_LINE_HIGHLIGHT_COLOR_PROPERTY
           
static String CURRENT_LINE_HIGHLIGHT_FADE_PROPERTY
           
static String HIGHLIGHT_CURRENT_LINE_PROPERTY
           
static String ROUNDED_SELECTION_PROPERTY
           
 
Fields inherited from class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
ANIMATE_BRACKET_MATCHING_PROPERTY, ANTIALIAS_PROPERTY, AUTO_INDENT_PROPERTY, BRACKET_MATCHING_PROPERTY, CLEAR_WHITESPACE_LINES_PROPERTY, CLOSE_CURLY_BRACES_PROPERTY, CLOSE_MARKUP_TAGS_PROPERTY, FOCUSABLE_TIPS_PROPERTY, FRACTIONAL_FONTMETRICS_PROPERTY, HYPERLINKS_ENABLED_PROPERTY, MARK_OCCURRENCES_PROPERTY, MARKED_OCCURRENCES_CHANGED_PROPERTY, PARSER_NOTICES_PROPERTY, SYNTAX_SCHEME_PROPERTY, SYNTAX_STYLE_PROPERTY, VISIBLE_WHITESPACE_PROPERTY
 
Fields inherited from class org.fife.ui.rtextarea.RTextArea
COPY_ACTION, CUT_ACTION, DELETE_ACTION, INSERT_MODE, MARK_ALL_COLOR_PROPERTY, OVERWRITE_MODE, PASTE_ACTION, REDO_ACTION, SELECT_ALL_ACTION, UNDO_ACTION
 
Fields inherited from class javax.swing.text.JTextComponent
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface org.fife.ui.rsyntaxtextarea.SyntaxConstants
SYNTAX_STYLE_ASSEMBLER_X86, SYNTAX_STYLE_BBCODE, SYNTAX_STYLE_C, SYNTAX_STYLE_CPLUSPLUS, SYNTAX_STYLE_CSHARP, SYNTAX_STYLE_CSS, SYNTAX_STYLE_DELPHI, SYNTAX_STYLE_FORTRAN, SYNTAX_STYLE_GROOVY, SYNTAX_STYLE_HTML, SYNTAX_STYLE_JAVA, SYNTAX_STYLE_JAVASCRIPT, SYNTAX_STYLE_JSP, SYNTAX_STYLE_LISP, SYNTAX_STYLE_LUA, SYNTAX_STYLE_MAKEFILE, SYNTAX_STYLE_NONE, SYNTAX_STYLE_PERL, SYNTAX_STYLE_PHP, SYNTAX_STYLE_PROPERTIES_FILE, SYNTAX_STYLE_PYTHON, SYNTAX_STYLE_RUBY, SYNTAX_STYLE_SAS, SYNTAX_STYLE_SCALA, SYNTAX_STYLE_SQL, SYNTAX_STYLE_TCL, SYNTAX_STYLE_UNIX_SHELL, SYNTAX_STYLE_WINDOWS_BATCH, SYNTAX_STYLE_XML
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SquirrelRSyntaxTextArea(ISession session, SyntaxPreferences prefs, RSyntaxPropertiesWrapper propertiesWrapper, IIdentifier sqlEntryPanelIdentifier)
           
 
Method Summary
protected  void addCurrentLineHighlightListeners()
           
 void addSQLTokenListeners(ISession session, SQLTokenListener tl)
           
 void addUndoableEditListener(UndoableEditListener um)
           
 void convertSpacesToTabs()
           
 void convertTabsToSpaces()
           
protected  Document createDefaultModel()
           
protected  JPopupMenu createPopupMenu()
           
protected  org.fife.ui.rtextarea.RTextAreaUI createRTextAreaUI()
           
 IUndoHandler createUndoHandler()
           
 void findSelected(ActionEvent evt)
           
protected  void forceCurrentLineHighlightRepaint()
           
 Color getBackground()
           
 Image getBackgroundImage()
           
 Object getBackgroundObject()
           
 int getCaretLineNumber()
           
 int getCaretOffsetFromLineStart()
           
 Color getCurrentLineHighlightColor()
           
static Color getDefaultCaretColor()
           
static Color getDefaultCurrentLineHighlightColor()
           
static Font getDefaultFont()
           
static Color getDefaultForeground()
           
static Color getDefaultMarginLineColor()
           
static int getDefaultMarginLinePosition()
           
 org.fife.ui.rsyntaxtextarea.SyntaxScheme getDefaultSyntaxScheme()
           
static int getDefaultTabSize()
           
 boolean getFadeCurrentLineHighlight()
           
 boolean getHighlightCurrentLine()
           
 int getLineEndOffsetOfCurrentLine()
           
 int getLineStartOffsetOfCurrentLine()
           
 Color getMarginLineColor()
           
 int getMarginLinePixelLocation()
           
 int getMarginLinePosition()
           
 boolean getRoundedSelectionEdges()
           
 boolean getTabsEmulated()
           
 String getToolTipText(MouseEvent event)
           
 boolean isMarginLineEnabled()
           
 void markSelected(ActionEvent evt)
           
protected  void possiblyUpdateCurrentLineHighlightLocation()
           
protected  void processComponentEvent(ComponentEvent arg0)
           
 void removeSQLTokenListeners(ISession session, SQLTokenListener tl)
           
 void repeatLastFind(ActionEvent evt)
           
 void sessionEnding()
           
 void setBackground(Color arg0)
           
 void setBackgroundImage(Image arg0)
           
 void setBackgroundObject(Object arg0)
           
 void setCurrentLineHighlightColor(Color arg0)
           
 void setFadeCurrentLineHighlight(boolean arg0)
           
 void setHighlightCurrentLine(boolean arg0)
           
 void setLineWrap(boolean arg0)
           
 void setMarginLineColor(Color arg0)
           
 void setMarginLineEnabled(boolean arg0)
           
 void setMarginLinePosition(int arg0)
           
protected  void setRTextAreaUI(org.fife.ui.rtextarea.RTextAreaUI arg0)
           
 void setTabsEmulated(boolean arg0)
           
 void setTabSize(int arg0)
           
 void showFindDialog(ActionEvent evt)
           
 void showGoToLineDialog(ActionEvent evt)
           
 void showReplaceDialog(ActionEvent evt)
           
 void unmarkAll()
           
 void updateFromPreferences()
           
protected  void updateMarginLineX()
           
 int yForLineContaining(int arg0)
           
 
Methods inherited from class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
addHyperlinkListener, addNotify, addParser, clearParsers, copyAsRtf, createMouseListener, doBracketMatching, fireCaretUpdate, forceReparsing, getAnimateBracketMatching, getBackgroundForTokenType, getCloseCurlyBraces, getCloseMarkupTags, getCodeTemplateManager, getDefaultBracketMatchBGColor, getDefaultBracketMatchBorderColor, getDefaultSelectionColor, getFontForTokenType, getFontMetricsForTokenType, getForegroundForToken, getFractionalFontMetricsEnabled, getHyperlinkForeground, getHyperlinksEnabled, getLineHeight, getMarkedOccurrences, getMarkOccurrences, getMarkOccurrencesColor, getMatchedBracketBGColor, getMatchedBracketBorderColor, getMatchRectangle, getMaxAscent, getParser, getParserCount, getParserNotices, getShouldIndentNextLine, getSyntaxEditingStyle, getSyntaxScheme, getTemplatesEnabled, getTextAntiAliasHint, getTokenListForLine, getUnderlineForToken, getUseFocusableTips, init, isAutoIndentEnabled, isBracketMatchingEnabled, isClearWhitespaceLinesEnabled, isWhitespaceVisible, paintComponent, removeHyperlinkListener, removeNotify, removeParser, restoreDefaultSyntaxScheme, saveTemplates, setAnimateBracketMatching, setAutoIndentEnabled, setBracketMatchingEnabled, setClearWhitespaceLinesEnabled, setCloseCurlyBraces, setCloseMarkupTags, setDocument, setFont, setFractionalFontMetricsEnabled, setHighlighter, setHyperlinkForeground, setHyperlinksEnabled, setLinkScanningMask, setMarkOccurrences, setMarkOccurrencesColor, setMatchedBracketBGColor, setMatchedBracketBorderColor, setSyntaxEditingStyle, setSyntaxScheme, setTemplateDirectory, setTemplatesEnabled, setTextAntiAliasHint, setUseFocusableTips, setWhitespaceVisible
 
Methods inherited from class org.fife.ui.rtextarea.RTextArea
addLineHighlight, beginAtomicEdit, beginRecordingMacro, clearMarkAllHighlights, configurePopupMenu, discardAllEdits, endAtomicEdit, endRecordingMacro, getAction, getCurrentMacro, getDefaultMarkAllHighlightColor, getIconGroup, getMarkAllHighlightColor, getPopupMenu, getTextMode, getToolTipSupplier, handleReplaceSelection, isRecordingMacro, loadMacro, markAll, paste, playbackLastMacro, print, read, redoLastAction, removeAllLineHighlights, removeLineHighlight, replaceRange, replaceSelection, setActionProperties, setActionProperties, setCaret, setCaretStyle, setIconGroup, setMarkAllHighlightColor, setPopupMenu, setRoundedSelectionEdges, setTextMode, setToolTipSupplier, setUI, undoLastAction
 
Methods inherited from class javax.swing.JTextArea
append, getAccessibleContext, getColumns, getColumnWidth, getLineCount, getLineEndOffset, getLineOfOffset, getLineStartOffset, getLineWrap, getPreferredScrollableViewportSize, getPreferredSize, getRowHeight, getRows, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getTabSize, getUIClassID, getWrapStyleWord, insert, paramString, setColumns, setRows, setWrapStyleWord
 
Methods inherited from class javax.swing.text.JTextComponent
addCaretListener, addInputMethodListener, addKeymap, copy, cut, getActions, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, print, print, print, processInputMethodEvent, removeCaretListener, removeKeymap, select, selectAll, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, updateUI, viewToModel, write
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BACKGROUND_IMAGE_PROPERTY

public static final String BACKGROUND_IMAGE_PROPERTY
See Also:
Constant Field Values

CURRENT_LINE_HIGHLIGHT_COLOR_PROPERTY

public static final String CURRENT_LINE_HIGHLIGHT_COLOR_PROPERTY
See Also:
Constant Field Values

CURRENT_LINE_HIGHLIGHT_FADE_PROPERTY

public static final String CURRENT_LINE_HIGHLIGHT_FADE_PROPERTY
See Also:
Constant Field Values

HIGHLIGHT_CURRENT_LINE_PROPERTY

public static final String HIGHLIGHT_CURRENT_LINE_PROPERTY
See Also:
Constant Field Values

ROUNDED_SELECTION_PROPERTY

public static final String ROUNDED_SELECTION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

SquirrelRSyntaxTextArea

public SquirrelRSyntaxTextArea(ISession session,
                               SyntaxPreferences prefs,
                               RSyntaxPropertiesWrapper propertiesWrapper,
                               IIdentifier sqlEntryPanelIdentifier)
Method Detail

createRTextAreaUI

protected org.fife.ui.rtextarea.RTextAreaUI createRTextAreaUI()
Overrides:
createRTextAreaUI in class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea

createPopupMenu

protected JPopupMenu createPopupMenu()
Overrides:
createPopupMenu in class org.fife.ui.rtextarea.RTextArea

createDefaultModel

protected Document createDefaultModel()
Overrides:
createDefaultModel in class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea

getDefaultSyntaxScheme

public org.fife.ui.rsyntaxtextarea.SyntaxScheme getDefaultSyntaxScheme()
Overrides:
getDefaultSyntaxScheme in class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea

createUndoHandler

public IUndoHandler createUndoHandler()

addUndoableEditListener

public void addUndoableEditListener(UndoableEditListener um)

updateFromPreferences

public void updateFromPreferences()

addSQLTokenListeners

public void addSQLTokenListeners(ISession session,
                                 SQLTokenListener tl)

removeSQLTokenListeners

public void removeSQLTokenListeners(ISession session,
                                    SQLTokenListener tl)

getToolTipText

public String getToolTipText(MouseEvent event)
Overrides:
getToolTipText in class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea

showFindDialog

public void showFindDialog(ActionEvent evt)

findSelected

public void findSelected(ActionEvent evt)

repeatLastFind

public void repeatLastFind(ActionEvent evt)

markSelected

public void markSelected(ActionEvent evt)

unmarkAll

public void unmarkAll()

showReplaceDialog

public void showReplaceDialog(ActionEvent evt)

showGoToLineDialog

public void showGoToLineDialog(ActionEvent evt)

sessionEnding

public void sessionEnding()

addCurrentLineHighlightListeners

protected void addCurrentLineHighlightListeners()

convertSpacesToTabs

public void convertSpacesToTabs()

convertTabsToSpaces

public void convertTabsToSpaces()

forceCurrentLineHighlightRepaint

protected void forceCurrentLineHighlightRepaint()

getBackground

public final Color getBackground()
Overrides:
getBackground in class Component

getBackgroundImage

public final Image getBackgroundImage()

getBackgroundObject

public final Object getBackgroundObject()

getCaretLineNumber

public final int getCaretLineNumber()

getCaretOffsetFromLineStart

public final int getCaretOffsetFromLineStart()

getCurrentLineHighlightColor

public Color getCurrentLineHighlightColor()

getDefaultCaretColor

public static final Color getDefaultCaretColor()

getDefaultCurrentLineHighlightColor

public static final Color getDefaultCurrentLineHighlightColor()

getDefaultFont

public static final Font getDefaultFont()

getDefaultForeground

public static final Color getDefaultForeground()

getDefaultMarginLineColor

public static final Color getDefaultMarginLineColor()

getDefaultMarginLinePosition

public static final int getDefaultMarginLinePosition()

getDefaultTabSize

public static final int getDefaultTabSize()

getFadeCurrentLineHighlight

public boolean getFadeCurrentLineHighlight()

getHighlightCurrentLine

public boolean getHighlightCurrentLine()

getLineEndOffsetOfCurrentLine

public final int getLineEndOffsetOfCurrentLine()

getLineStartOffsetOfCurrentLine

public final int getLineStartOffsetOfCurrentLine()

getMarginLineColor

public Color getMarginLineColor()

getMarginLinePixelLocation

public int getMarginLinePixelLocation()

getMarginLinePosition

public int getMarginLinePosition()

getRoundedSelectionEdges

public boolean getRoundedSelectionEdges()

getTabsEmulated

public boolean getTabsEmulated()

isMarginLineEnabled

public boolean isMarginLineEnabled()

possiblyUpdateCurrentLineHighlightLocation

protected void possiblyUpdateCurrentLineHighlightLocation()

processComponentEvent

protected void processComponentEvent(ComponentEvent arg0)
Overrides:
processComponentEvent in class Component

setBackground

public void setBackground(Color arg0)
Overrides:
setBackground in class JComponent

setBackgroundImage

public void setBackgroundImage(Image arg0)

setBackgroundObject

public void setBackgroundObject(Object arg0)

setCurrentLineHighlightColor

public void setCurrentLineHighlightColor(Color arg0)

setFadeCurrentLineHighlight

public void setFadeCurrentLineHighlight(boolean arg0)

setHighlightCurrentLine

public void setHighlightCurrentLine(boolean arg0)

setLineWrap

public void setLineWrap(boolean arg0)
Overrides:
setLineWrap in class JTextArea

setMarginLineColor

public void setMarginLineColor(Color arg0)

setMarginLineEnabled

public void setMarginLineEnabled(boolean arg0)

setMarginLinePosition

public void setMarginLinePosition(int arg0)

setRTextAreaUI

protected void setRTextAreaUI(org.fife.ui.rtextarea.RTextAreaUI arg0)

setTabsEmulated

public void setTabsEmulated(boolean arg0)

setTabSize

public void setTabSize(int arg0)
Overrides:
setTabSize in class JTextArea

updateMarginLineX

protected void updateMarginLineX()

yForLineContaining

public int yForLineContaining(int arg0)
                       throws BadLocationException
Throws:
BadLocationException


Copyright © 2001-2010. All Rights Reserved.