Java Doc for JEditTextArea.java in  » Report » iReport-2.0.5 » org » syntax » jedit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » iReport 2.0.5 » org.syntax.jedit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            org.syntax.jedit.JEditTextArea

All known Subclasses:   it.businesslogic.ireport.gui.JRTextExpressionArea,  it.businesslogic.ireport.gui.JRSQLExpressionArea,
JEditTextArea
public class JEditTextArea extends JComponent (Code)
jEdit's text area component. It is more suited for editing program source code than JEditorPane, because it drops the unnecessary features (images, variable-width lines, and so on) and adds a whole bunch of useful goodies such as:
  • More flexible key binding scheme
  • Supports macro recorders
  • Rectangular selection
  • Bracket highlighting
  • Syntax highlighting
  • Command repetition
  • Block caret can be enabled
It is also faster and doesn't have as many problems. It can be used in other applications; the only other part of jEdit it depends on is the syntax package.

To use it in your app, treat it like any other component, for example:

JEditTextArea ta = new JEditTextArea();
 ta.setTokenMarker(new JavaTokenMarker());
 ta.setText("public class Test {\n"
 + "    public static void main(String[] args) {\n"
 + "        System.out.println(\"Hello World\");\n"
 + "    }\n"
 + "}");

author:
   Slava Pestov
version:
   $Id: JEditTextArea.java 1167 2008-01-15 18:49:05Z gtoffoli $

Inner Class :class ScrollLayout implements LayoutManager
Inner Class :static class CaretBlinker implements ActionListener
Inner Class :class MutableCaretEvent extends CaretEvent
Inner Class :class AdjustHandler implements AdjustmentListener
Inner Class :class ComponentHandler extends ComponentAdapter
Inner Class :class DocumentHandler implements DocumentListener
Inner Class :class DragHandler implements MouseMotionListener
Inner Class :class FocusHandler implements FocusListener
Inner Class :class MouseHandler extends MouseAdapter
Inner Class :class CaretUndo extends AbstractUndoableEdit

Field Summary
protected static  StringBOTTOM
    
protected static  StringCENTER
    
public static  StringLEFT_OF_SCROLLBAR
     Adding components with this name to the text area will place them left of the horizontal scroll bar.
protected static  StringRIGHT
    
protected  booleanbiasLeft
    
protected  booleanblink
    
protected  intbracketLine
    
protected  intbracketPosition
    
protected  booleancaretBlinks
    
protected  MutableCaretEventcaretEvent
    
protected static  TimercaretTimer
    
protected  booleancaretVisible
    
protected  SyntaxDocumentdocument
    
protected  DocumentHandlerdocumentHandler
    
protected  booleaneditable
    
protected  intelectricScroll
    
protected  intfirstLine
    
public static  JEditTextAreafocusedComponent
    
protected  JScrollBarhorizontal
    
protected  inthorizontalOffset
    
protected  InputHandlerinputHandler
    
protected  SegmentlineSegment
    
protected  EventListenerListlistenerList
    
protected  intmagicCaret
    
protected  booleanoverwrite
    
protected  TextAreaPainterpainter
    
protected  JPopupMenupopup
    
protected  booleanrectSelect
    
protected  booleanscrollBarsInitialized
    
protected  intselectionEnd
    
protected  intselectionEndLine
    
protected  intselectionStart
    
protected  intselectionStartLine
    
protected  JScrollBarvertical
    
protected  intvisibleLines
    

Constructor Summary
public  JEditTextArea()
     Creates a new JEditTextArea with the default settings.
public  JEditTextArea(TextAreaDefaults defaults)
     Creates a new JEditTextArea with the specified settings.

Method Summary
public  int_offsetToX(int line, int offset)
     Converts an offset in a line into an x co-ordinate.
final public  voidaddCaretListener(CaretListener listener)
     Adds a caret change listener to this text area.
final public  voidblinkCaret()
     Blinks the caret.
public  voidcopy()
     Places the selected text into the clipboard.
public  voidcut()
     Deletes the selected text from the text area and places it into the clipboard.
protected  voiddocumentChanged(DocumentEvent evt)
    
public  voideditButtonActionPerformed(ActionEvent e)
    
protected  voidfireCaretEvent()
    
final public  intgetBracketLine()
    
final public  intgetBracketPosition()
    
final public  intgetCaretLine()
     Returns the caret line.
final public  intgetCaretPosition()
     Returns the caret position.
final public  SyntaxDocumentgetDocument()
     Returns the document this text area is editing.
final public  intgetDocumentLength()
     Returns the length of the document.
final public  intgetElectricScroll()
     Returns the number of lines from the top and button of the text area that are always visible.
final public  intgetFirstLine()
     Returns the line displayed at the text area's origin.
final public  intgetHorizontalOffset()
     Returns the horizontal offset of drawn lines.
final public  InputHandlergetInputHandler()
     Returns the input handler.
final public  intgetLineCount()
     Returns the number of lines in the document.
public  intgetLineEndOffset(int line)
     Returns the end offset of the specified line.
public  intgetLineLength(int line)
     Returns the length of the specified line.
final public  intgetLineOfOffset(int offset)
     Returns the line containing the specified offset.
public  intgetLineStartOffset(int line)
     Returns the start offset of the specified line.
final public  StringgetLineText(int lineIndex)
     Returns the text on the specified line.
final public  voidgetLineText(int lineIndex, Segment segment)
     Copies the text on the specified line into a segment.
final public  intgetMagicCaretPosition()
     Returns the `magic' caret position.
final public  intgetMarkLine()
     Returns the mark line.
final public  intgetMarkPosition()
     Returns the mark position.
final public  TextAreaPaintergetPainter()
     Returns the object responsible for painting this text area.
final public  JPopupMenugetRightClickPopup()
     Returns the right click popup menu.
final public  StringgetSelectedText()
     Returns the selected text, or null if no selection is active.
final public  intgetSelectionEnd()
     Returns the selection end offset.
public  intgetSelectionEnd(int line)
     Returns the offset where the selection ends on the specified line.
final public  intgetSelectionEndLine()
     Returns the selection end line.
final public  intgetSelectionStart()
     Returns the selection start offset.
public  intgetSelectionStart(int line)
     Returns the offset where the selection starts on the specified line.
final public  intgetSelectionStartLine()
     Returns the selection start line.
public  StringgetText()
     Returns the entire text of this text area.
final public  StringgetText(int start, int len)
     Returns the specified substring of the document.
final public  voidgetText(int start, int len, Segment segment)
     Copies the specified substring of the document into a segment.
final public  TokenMarkergetTokenMarker()
     Returns the document's token marker.
final public  intgetVisibleLines()
     Returns the number of lines visible in this text area.
final public  booleanisCaretBlinkEnabled()
     Returns true if the caret is blinking, false otherwise.
final public  booleanisCaretVisible()
     Returns true if the caret is visible, false otherwise.
final public  booleanisEditable()
     Returns true if this text area is editable, false otherwise.
final public  booleanisManagingFocus()
     Returns if this component can be traversed by pressing the Tab key.
final public  booleanisOverwriteEnabled()
     Returns true if overwrite mode is enabled, false otherwise.
final public  booleanisSelectionRectangular()
     Returns true if the selection is rectangular, false otherwise.
public  intlineToY(int line)
     Converts a line index to a y co-ordinate.
final public  intoffsetToX(int line, int offset)
     Converts an offset in a line into an x co-ordinate.
public  voidoverwriteSetSelectedText(String str)
     Similar to setSelectedText(), but overstrikes the appropriate number of characters if overwrite mode is enabled.
public  voidpaste()
     Inserts the clipboard contents into the text.
public  voidprocessKeyEvent(KeyEvent evt)
     Forwards key events directly to the input handler.
final public  voidrecalculateVisibleLines()
     Recalculates the number of visible lines.
final public  voidremoveCaretListener(CaretListener listener)
     Removes a caret change listener from this text area.
public  voidremoveNotify()
     Called by the AWT when this component is removed from it's parent.
public  booleanscrollTo(int line, int offset)
     Ensures that the specified line and offset is visible by scrolling the text area if necessary.
public  booleanscrollToCaret()
     Ensures that the caret is visible by scrolling the text area if necessary.
public  voidselect(int start, int end)
     Selects from the start offset to the end offset.
final public  voidselectAll()
     Selects all text in the document.
final public  voidselectNone()
     Moves the mark to the caret position.
public  voidsetCaretBlinkEnabled(boolean caretBlinks)
     Toggles caret blinking.
final public  voidsetCaretPosition(int caret)
     Sets the caret position.
public  voidsetCaretVisible(boolean caretVisible)
     Sets if the caret should be visible.
public  voidsetDocument(SyntaxDocument document)
     Sets the document this text area is editing.
public  voidsetEditButtonVisible(boolean b)
    
final public  voidsetEditable(boolean editable)
     Sets if this component is editable.
final public  voidsetElectricScroll(int electricScroll)
    
public  voidsetFirstLine(int firstLine)
     Sets the line displayed at the text area's origin without updating the scroll bars.
public  voidsetHorizontalOffset(int horizontalOffset)
     Sets the horizontal offset of drawn lines.
public  voidsetInputHandler(InputHandler inputHandler)
     Sets the input handler.
final public  voidsetMagicCaretPosition(int magicCaret)
     Sets the `magic' caret position.
public  booleansetOrigin(int firstLine, int horizontalOffset)
     A fast way of changing both the first line and horizontal offset.
final public  voidsetOverwriteEnabled(boolean overwrite)
     Sets if overwrite mode should be enabled.
final public  voidsetRightClickPopup(JPopupMenu popup)
     Sets the right click popup menu.
public  voidsetSelectedText(String selectedText)
     Replaces the selection with the specified text.
final public  voidsetSelectionEnd(int selectionEnd)
     Sets the selection end.
final public  voidsetSelectionRectangular(boolean rectSelect)
     Sets if the selection should be rectangular.
final public  voidsetSelectionStart(int selectionStart)
     Sets the selection start.
public  voidsetText(String text)
     Sets the entire text of this text area.
final public  voidsetTokenMarker(TokenMarker tokenMarker)
     Sets the document's token marker.
protected  voidupdateBracketHighlight(int newCaretPosition)
    
public  voidupdateScrollBars()
     Updates the state of the scroll bars.
public  intxToOffset(int line, int x)
     Converts an x co-ordinate to an offset within a line.
public  intxyToOffset(int x, int y)
     Converts a point to an offset, from the start of the text.
public  intyToLine(int y)
     Converts a y co-ordinate to a line index.

Field Detail
BOTTOM
protected static String BOTTOM(Code)



CENTER
protected static String CENTER(Code)



LEFT_OF_SCROLLBAR
public static String LEFT_OF_SCROLLBAR(Code)
Adding components with this name to the text area will place them left of the horizontal scroll bar. In jEdit, the status bar is added this way.



RIGHT
protected static String RIGHT(Code)



biasLeft
protected boolean biasLeft(Code)



blink
protected boolean blink(Code)



bracketLine
protected int bracketLine(Code)



bracketPosition
protected int bracketPosition(Code)



caretBlinks
protected boolean caretBlinks(Code)



caretEvent
protected MutableCaretEvent caretEvent(Code)



caretTimer
protected static Timer caretTimer(Code)



caretVisible
protected boolean caretVisible(Code)



document
protected SyntaxDocument document(Code)



documentHandler
protected DocumentHandler documentHandler(Code)



editable
protected boolean editable(Code)



electricScroll
protected int electricScroll(Code)



firstLine
protected int firstLine(Code)



focusedComponent
public static JEditTextArea focusedComponent(Code)



horizontal
protected JScrollBar horizontal(Code)



horizontalOffset
protected int horizontalOffset(Code)



inputHandler
protected InputHandler inputHandler(Code)



lineSegment
protected Segment lineSegment(Code)



listenerList
protected EventListenerList listenerList(Code)



magicCaret
protected int magicCaret(Code)



overwrite
protected boolean overwrite(Code)



painter
protected TextAreaPainter painter(Code)



popup
protected JPopupMenu popup(Code)



rectSelect
protected boolean rectSelect(Code)



scrollBarsInitialized
protected boolean scrollBarsInitialized(Code)



selectionEnd
protected int selectionEnd(Code)



selectionEndLine
protected int selectionEndLine(Code)



selectionStart
protected int selectionStart(Code)



selectionStartLine
protected int selectionStartLine(Code)



vertical
protected JScrollBar vertical(Code)



visibleLines
protected int visibleLines(Code)




Constructor Detail
JEditTextArea
public JEditTextArea()(Code)
Creates a new JEditTextArea with the default settings.



JEditTextArea
public JEditTextArea(TextAreaDefaults defaults)(Code)
Creates a new JEditTextArea with the specified settings.
Parameters:
  defaults - The default settings




Method Detail
_offsetToX
public int _offsetToX(int line, int offset)(Code)
Converts an offset in a line into an x co-ordinate. This is a fast version that should only be used if no changes were made to the text since the last repaint.
Parameters:
  line - The line
Parameters:
  offset - The offset, from the start of the line



addCaretListener
final public void addCaretListener(CaretListener listener)(Code)
Adds a caret change listener to this text area.
Parameters:
  listener - The listener



blinkCaret
final public void blinkCaret()(Code)
Blinks the caret.



copy
public void copy()(Code)
Places the selected text into the clipboard.



cut
public void cut()(Code)
Deletes the selected text from the text area and places it into the clipboard.



documentChanged
protected void documentChanged(DocumentEvent evt)(Code)



editButtonActionPerformed
public void editButtonActionPerformed(ActionEvent e)(Code)



fireCaretEvent
protected void fireCaretEvent()(Code)



getBracketLine
final public int getBracketLine()(Code)
Returns the line of the highlighted bracket (the bracket matching the one before the caret)



getBracketPosition
final public int getBracketPosition()(Code)
Returns the position of the highlighted bracket (the bracket matching the one before the caret)



getCaretLine
final public int getCaretLine()(Code)
Returns the caret line.



getCaretPosition
final public int getCaretPosition()(Code)
Returns the caret position. This will either be the selection start or the selection end, depending on which direction the selection was made in.



getDocument
final public SyntaxDocument getDocument()(Code)
Returns the document this text area is editing.



getDocumentLength
final public int getDocumentLength()(Code)
Returns the length of the document. Equivalent to calling getDocument().getLength().



getElectricScroll
final public int getElectricScroll()(Code)
Returns the number of lines from the top and button of the text area that are always visible.



getFirstLine
final public int getFirstLine()(Code)
Returns the line displayed at the text area's origin.



getHorizontalOffset
final public int getHorizontalOffset()(Code)
Returns the horizontal offset of drawn lines.



getInputHandler
final public InputHandler getInputHandler()(Code)
Returns the input handler.



getLineCount
final public int getLineCount()(Code)
Returns the number of lines in the document.



getLineEndOffset
public int getLineEndOffset(int line)(Code)
Returns the end offset of the specified line.
Parameters:
  line - The line The end offset of the specified line, or -1 if the line isinvalid.



getLineLength
public int getLineLength(int line)(Code)
Returns the length of the specified line.
Parameters:
  line - The line



getLineOfOffset
final public int getLineOfOffset(int offset)(Code)
Returns the line containing the specified offset.
Parameters:
  offset - The offset



getLineStartOffset
public int getLineStartOffset(int line)(Code)
Returns the start offset of the specified line.
Parameters:
  line - The line The start offset of the specified line, or -1 if the line isinvalid



getLineText
final public String getLineText(int lineIndex)(Code)
Returns the text on the specified line.
Parameters:
  lineIndex - The line The text, or null if the line is invalid



getLineText
final public void getLineText(int lineIndex, Segment segment)(Code)
Copies the text on the specified line into a segment. If the line is invalid, the segment will contain a null string.
Parameters:
  lineIndex - The line



getMagicCaretPosition
final public int getMagicCaretPosition()(Code)
Returns the `magic' caret position. This can be used to preserve the column position when moving up and down lines.



getMarkLine
final public int getMarkLine()(Code)
Returns the mark line.



getMarkPosition
final public int getMarkPosition()(Code)
Returns the mark position. This will be the opposite selection bound to the caret position.
See Also:   JEditTextArea.getCaretPosition()



getPainter
final public TextAreaPainter getPainter()(Code)
Returns the object responsible for painting this text area.



getRightClickPopup
final public JPopupMenu getRightClickPopup()(Code)
Returns the right click popup menu.



getSelectedText
final public String getSelectedText()(Code)
Returns the selected text, or null if no selection is active.



getSelectionEnd
final public int getSelectionEnd()(Code)
Returns the selection end offset.



getSelectionEnd
public int getSelectionEnd(int line)(Code)
Returns the offset where the selection ends on the specified line.



getSelectionEndLine
final public int getSelectionEndLine()(Code)
Returns the selection end line.



getSelectionStart
final public int getSelectionStart()(Code)
Returns the selection start offset.



getSelectionStart
public int getSelectionStart(int line)(Code)
Returns the offset where the selection starts on the specified line.



getSelectionStartLine
final public int getSelectionStartLine()(Code)
Returns the selection start line.



getText
public String getText()(Code)
Returns the entire text of this text area.



getText
final public String getText(int start, int len)(Code)
Returns the specified substring of the document.
Parameters:
  start - The start offset
Parameters:
  len - The length of the substring The substring, or null if the offsets are invalid



getText
final public void getText(int start, int len, Segment segment)(Code)
Copies the specified substring of the document into a segment. If the offsets are invalid, the segment will contain a null string.
Parameters:
  start - The start offset
Parameters:
  len - The length of the substring
Parameters:
  segment - The segment



getTokenMarker
final public TokenMarker getTokenMarker()(Code)
Returns the document's token marker. Equivalent to calling getDocument().getTokenMarker().



getVisibleLines
final public int getVisibleLines()(Code)
Returns the number of lines visible in this text area.



isCaretBlinkEnabled
final public boolean isCaretBlinkEnabled()(Code)
Returns true if the caret is blinking, false otherwise.



isCaretVisible
final public boolean isCaretVisible()(Code)
Returns true if the caret is visible, false otherwise.



isEditable
final public boolean isEditable()(Code)
Returns true if this text area is editable, false otherwise.



isManagingFocus
final public boolean isManagingFocus()(Code)
Returns if this component can be traversed by pressing the Tab key. This returns false.



isOverwriteEnabled
final public boolean isOverwriteEnabled()(Code)
Returns true if overwrite mode is enabled, false otherwise.



isSelectionRectangular
final public boolean isSelectionRectangular()(Code)
Returns true if the selection is rectangular, false otherwise.



lineToY
public int lineToY(int line)(Code)
Converts a line index to a y co-ordinate.
Parameters:
  line - The line



offsetToX
final public int offsetToX(int line, int offset)(Code)
Converts an offset in a line into an x co-ordinate. This is a slow version that can be used any time.
Parameters:
  line - The line
Parameters:
  offset - The offset, from the start of the line



overwriteSetSelectedText
public void overwriteSetSelectedText(String str)(Code)
Similar to setSelectedText(), but overstrikes the appropriate number of characters if overwrite mode is enabled.
Parameters:
  str - The string
See Also:   JEditTextArea.setSelectedText(String)
See Also:   JEditTextArea.isOverwriteEnabled()



paste
public void paste()(Code)
Inserts the clipboard contents into the text.



processKeyEvent
public void processKeyEvent(KeyEvent evt)(Code)
Forwards key events directly to the input handler. This is slightly faster than using a KeyListener because some Swing overhead is avoided.



recalculateVisibleLines
final public void recalculateVisibleLines()(Code)
Recalculates the number of visible lines. This should not be called directly.



removeCaretListener
final public void removeCaretListener(CaretListener listener)(Code)
Removes a caret change listener from this text area.
Parameters:
  listener - The listener



removeNotify
public void removeNotify()(Code)
Called by the AWT when this component is removed from it's parent. This stops clears the currently focused component.



scrollTo
public boolean scrollTo(int line, int offset)(Code)
Ensures that the specified line and offset is visible by scrolling the text area if necessary.
Parameters:
  line - The line to scroll to
Parameters:
  offset - The offset in the line to scroll to True if scrolling was actually performed, false if theline and offset was already visible



scrollToCaret
public boolean scrollToCaret()(Code)
Ensures that the caret is visible by scrolling the text area if necessary. True if scrolling was actually performed, false if thecaret was already visible



select
public void select(int start, int end)(Code)
Selects from the start offset to the end offset. This is the general selection method used by all other selecting methods. The caret position will be start if start < end, and end if end > start.
Parameters:
  start - The start offset
Parameters:
  end - The end offset



selectAll
final public void selectAll()(Code)
Selects all text in the document.



selectNone
final public void selectNone()(Code)
Moves the mark to the caret position.



setCaretBlinkEnabled
public void setCaretBlinkEnabled(boolean caretBlinks)(Code)
Toggles caret blinking.
Parameters:
  caretBlinks - True if the caret should blink, false otherwise



setCaretPosition
final public void setCaretPosition(int caret)(Code)
Sets the caret position. The new selection will consist of the caret position only (hence no text will be selected)
Parameters:
  caret - The caret position
See Also:   JEditTextArea.select(int,int)



setCaretVisible
public void setCaretVisible(boolean caretVisible)(Code)
Sets if the caret should be visible.
Parameters:
  caretVisible - True if the caret should be visible, falseotherwise



setDocument
public void setDocument(SyntaxDocument document)(Code)
Sets the document this text area is editing.
Parameters:
  document - The document



setEditButtonVisible
public void setEditButtonVisible(boolean b)(Code)



setEditable
final public void setEditable(boolean editable)(Code)
Sets if this component is editable.
Parameters:
  editable - True if this text area should be editable,false otherwise



setElectricScroll
final public void setElectricScroll(int electricScroll)(Code)
Sets the number of lines from the top and bottom of the text area that are always visible
Parameters:
  electricScroll - The number of lines always visible fromthe top or bottom



setFirstLine
public void setFirstLine(int firstLine)(Code)
Sets the line displayed at the text area's origin without updating the scroll bars.



setHorizontalOffset
public void setHorizontalOffset(int horizontalOffset)(Code)
Sets the horizontal offset of drawn lines. This can be used to implement horizontal scrolling.
Parameters:
  horizontalOffset - offset The new horizontal offset



setInputHandler
public void setInputHandler(InputHandler inputHandler)(Code)
Sets the input handler.
Parameters:
  inputHandler - The new input handler



setMagicCaretPosition
final public void setMagicCaretPosition(int magicCaret)(Code)
Sets the `magic' caret position. This can be used to preserve the column position when moving up and down lines.
Parameters:
  magicCaret - The magic caret position



setOrigin
public boolean setOrigin(int firstLine, int horizontalOffset)(Code)
A fast way of changing both the first line and horizontal offset.
Parameters:
  firstLine - The new first line
Parameters:
  horizontalOffset - The new horizontal offset True if any of the values were changed, false otherwise



setOverwriteEnabled
final public void setOverwriteEnabled(boolean overwrite)(Code)
Sets if overwrite mode should be enabled.
Parameters:
  overwrite - True if overwrite mode should be enabled,false otherwise.



setRightClickPopup
final public void setRightClickPopup(JPopupMenu popup)(Code)
Sets the right click popup menu.
Parameters:
  popup - The popup



setSelectedText
public void setSelectedText(String selectedText)(Code)
Replaces the selection with the specified text.
Parameters:
  selectedText - The replacement text for the selection



setSelectionEnd
final public void setSelectionEnd(int selectionEnd)(Code)
Sets the selection end. The new selection will be the old selection start and the bew selection end.
Parameters:
  selectionEnd - The selection end
See Also:   JEditTextArea.select(int,int)



setSelectionRectangular
final public void setSelectionRectangular(boolean rectSelect)(Code)
Sets if the selection should be rectangular.
Parameters:
  overwrite - True if the selection should be rectangular,false otherwise.



setSelectionStart
final public void setSelectionStart(int selectionStart)(Code)
Sets the selection start. The new selection will be the new selection start and the old selection end.
Parameters:
  selectionStart - The selection start
See Also:   JEditTextArea.select(int,int)



setText
public void setText(String text)(Code)
Sets the entire text of this text area.



setTokenMarker
final public void setTokenMarker(TokenMarker tokenMarker)(Code)
Sets the document's token marker. Equivalent to caling getDocument().setTokenMarker().
Parameters:
  tokenMarker - The token marker



updateBracketHighlight
protected void updateBracketHighlight(int newCaretPosition)(Code)



updateScrollBars
public void updateScrollBars()(Code)
Updates the state of the scroll bars. This should be called if the number of lines in the document changes, or when the size of the text are changes.



xToOffset
public int xToOffset(int line, int x)(Code)
Converts an x co-ordinate to an offset within a line.
Parameters:
  line - The line
Parameters:
  x - The x co-ordinate



xyToOffset
public int xyToOffset(int x, int y)(Code)
Converts a point to an offset, from the start of the text.
Parameters:
  x - The x co-ordinate of the point
Parameters:
  y - The y co-ordinate of the point



yToLine
public int yToLine(int y)(Code)
Converts a y co-ordinate to a line index.
Parameters:
  y - The y co-ordinate



Fields inherited from javax.swing.JComponent
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component c)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
final public boolean isPaintingForPrint()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected void paintComponent(Graphics g)(Code)(Java Doc)
public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void paintImmediately(Rectangle r)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(Rectangle r)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void reshape(int x, int y, int w, int h)(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
final public void setActionMap(ActionMap am)(Code)(Java Doc)
public void setAlignmentX(float alignmentX)(Code)(Java Doc)
public void setAlignmentY(float alignmentY)(Code)(Java Doc)
public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc)
public void setBackground(Color bg)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale l)(Code)(Java Doc)
public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color fg)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc)
public void setOpaque(boolean isOpaque)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc)
public void setVisible(boolean aFlag)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.