Java Doc for Term.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » terminalemulator » 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 » IDE Netbeans » cvsclient » org.netbeans.lib.terminalemulator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            org.netbeans.lib.terminalemulator.Term

All known Subclasses:   org.netbeans.lib.terminalemulator.StreamTerm,
Term
public class Term extends JComponent implements Accessible(Code)
Term is a pure Java multi-purpose terminal emulator.

It has the following generic features:

  • All "dumb" operations. Basically putting characters on a screen and processing keyboard input.
  • ANSI mode "smart" operations. Cursor control etc.
  • Character attributes like color, reverse-video etc.
  • Selection service in character, word and line modes matching xterm with configurable word boundary detection.
  • History buffer.
  • Facilities to iterate through logical lines, to implement search for example.
  • Support for nested pickable regions in order to support hyperlinked views or more complex active text utilities.
  • Support for double-width Oriental characters.

Coordinate systems

The following coordinate systems are used with Term. They are all cartesian and have their origin at the top left. All but the first are 0-origin. But they differ in all other respects:
ANSI Screen coordinates
Address only the visible portion of the screen. They are 1-origin and extend thru the width and height of the visible portion of the screen per getColumns() and getRows().

This is how an application (like 'vi' etc) views the screen. This coordinate system primarily comes into play in the cursor addressing directive, op_cm() and otherwise is not really used in the implementation.

Cell coordinates
Each character usually takes one cell, and all placement on the screen is in terms of a grid of cells getColumns() wide This cellular nature is why fixed font is "required". In some locales some characters may be double-width. Japanese characters are like this, so they take up two cells. There are no double-height characters (that I know of).

Cursor motion is in cell coordinates, so to move past a Japanese character you need the cursor to move right twice. A cursor can also be placed on the second cell of a double-width character.

Note that this is strictly an internal coordinate system. For example Term.getCursorCol() and getCursorCoord() return buffer coordinates.

The main purpose of this coordinate system is to capture logical columns. In the vertical direction sometimes it extends only the height of the screen and sometimes the height of the buffer.

Buffer coordinates ...
... address the whole history character buffer. These are 0-origin and extend thru the width of the screen per getColumns(), or more if horizontal scrolling is enabled, and the whole history, that is, getHistorySize()+getRows().

The BCoord class captures the value of such coordinates. It is more akin to the 'int offset' used in the Java text package as opposed to javax.swing.text.Position.

If there are no double-width characters the buffer coords pretty much overlap with cell coords. If double-width characters are added then the buffer column and cell column will have a larger skew the more right you go.

Absolute coordinates ...
... are like Buffer coordinates in the horizontal direction. In the vertical direction their origin is the first line that was sent to the terminal. This line might have scrolled out of history and might no longer be in the buffer. In effect each line ever printed by Term gets a unique Absolute row.

What good is this? The ActiveRegion mechanism maintains coordinates for its' boundaries. As text scrolls out of history buffer row coordinates have to shift and all ActiveRegions' coords need to be relocated. This can get expensive because as soon as the history buffer becomes full each newline will require a relocation. This is the approach that javax.swing.text.Position implements and it's justified there because no Swing component has a "history buffer". However, if you use absolute coordinates you'll never have to relocate anything! Simple and effective.

Well almost. What happens when you reach Integer.MAX_VALUE? You wrap and that can confuse everything. What are the chances of this happening? Suppose term can process 4000 lines per second. A runaway process will produce Integer.MAX_VALUE lines in about 4 days. That's too close for comfort, so Term does detect the wrap and only then goes and relocates stuff. This, however, causes a secondary problem with testability since no-one wants to wait 4 days for a single wrap. So what I've done is periodically set Term.modulo to something smaller and tested stuff.

I'm indebted to Alan Kostinsky for this bit of lateral thinking.

Modes of use

There are three ways Term can be used. These modes aren't explicit they are just a convenient way of discussing functionality.
Screen mode
This represents the traditional terminal without a history buffer. Applications running under the terminal assume they are dealing with a fixed size screen and interact with it in the screen coordinate system through escape sequence (ANSI or otherwise). The most common application which uses terminals in this ways is the screen editor, like vi or emacs.

Term will convert keystrokes to an output stream and will process characters in an input stream and render them unto the screen. What and how these streams are connected to is up to the client of Term, since it is usually highly platform dependent. For example on unixes the streams may be connected to partially-JNI-based "pty" streams.

This mode works correctly even if there is history and you see a scrollbar, just as it does under XTerm and it's derivatives.

Buffer/Interactive mode
This is the primary facility that XTerm and other derivatives provide. The screen has a history buffer in the vertical dimension.

Because of limited history active regions can scroll out of history and while the coordinate invalidation problem is not addressed by absolute coordiantes sometimes we don't want stuff to wink out.
Which is why we have ...

Page mode
It is possible to "anchor" a location in the buffer and prevent it from going out of history. This can be helpful in having the client of Term make sure that crucial output doesn't get lost due to short-sighted history settings on the part of the user.

To use Term in this mode you can use setText() or appendText() instead of connecting to Terms streams. This mode is called page mode because the most common use of it would be as something akin to a hypertext browser. To that end Term supports nestable ActiveRegions and mapping of coordinates to regions. ActiveTerm puts all of this together in a comprehensive subclass.

What Term is not

  • While there is an internal Buffer class, and while it behaves like a document in that it can be implicitly "edited" and character attributes explicitly changed, Term is not a document editing widget.

  • Term is also not a command line processor in the sense that a MS Windows console is. Its shuttling of keyboard events to an output stream and rendering of characters from the input stream unto the screen are completely independent activities.

    This is due to Terms unix heritage where shells (ksh, bash etc) do their own cmdline and history editing, but if you're so inclined the LineDiscipline may be used for experimentation with indigenous cmdline processing.


Inner Class :protected class AccessibleTerm extends AccessibleJComponent

Field Summary
final public static  intDEBUG_INPUT
    
final public static  intDEBUG_KEYS
    
final public static  intDEBUG_MARGINS
    
final public static  intDEBUG_OPS
    
final public static  intDEBUG_OUTPUT
    
final public static  intDEBUG_WRAP
    
 Bufferbuf
    
protected  intfirsta
    
 MyFontMetricsmetrics
    
 booleanselection_xor
    
 WordDelineatorword_delineator
    

Constructor Summary
public  Term()
    

Method Summary
public  intCoordToPosition(Coord c)
     [DO NOT USE] Convert a 2D Coord to a 1D linear position.
public  CoordPositionToCoord(int position)
     [DO NOT USE] Convert a 1D linear position to a 2D Coord.
public  voidaddInputListener(TermInputListener l)
     Add an input listener to this.
public  voidaddListener(TermListener l)
     Add a TermListener to this.
public  Coordadvance(Coord c)
     Advance the coordinate by one charater and return new coord.
public  voidappendText(String text, boolean repaint)
     Add new text at the current cursor position.
 ColorbackgroundColor(boolean reverse, int attr)
    
public  Coordbackup(Coord c)
     Back up the coordinate by one character and return new Coord.
public  intcharWidth(char c)
     Return the cell width of the given character.
 voidcheckForMultiCell(char c)
    
public  voidclear()
    
public  voidclearHistory()
     Clear all of the history, including any visible portion of it.
public  voidclearHistoryNoRefresh()
     Clear all of the history without repainting the screen.
public  voidclearSelection()
     Clear the selection.
public  voidcolumnLeft(int n)
     Scroll the view 'n' columns to the left.
public  voidcolumnRight(int n)
     Scroll the view 'n' columns to the right.
public  voidcopy()
     Transfer selected text into clipboard.
public  voidcopyToClipboard()
     Transfer selected text into clipboard.
public  voidcopyToSelection()
     Transfer selected text into selection.
protected  booleandebugInput()
     Return true if DEBUG_INPUT flag has been set.
protected  booleandebugOutput()
     Return true if DEBUG_OUTPUT flag has been set.
 voiddo_paint(Graphics g)
    
public  ExtentextentInLogicalLine(Coord begin, int offset, int length)
     Convert offsets in logical lines into physical coordinates.

Usually called from within a LogicalLineVisitor.visit().

public  voidfillSizeInfo(Dimension cells, Dimension pixels)
    
 voidfireSelectionExtentChanged()
    
public  voidflush()
     Force a repaint.

Normally a putChar() or putChars() will call repaint, unless ... setRepaintEnabled() has been called with false.

 ColorforegroundColor(boolean reverse, int attr)
    
public  AccessibleContextgetAccessibleContext()
     Since Term is a composite widget the main accessible JComponent is not Term but an internal JComponent.
public  ColorgetActiveColor()
     Get the feedback color of active regions.
public  JComponentgetCanvas()
     Returns the actual drawing area so events can be interposed upon, like context menus.
 intgetCharCount()
     Return the number of characters stored.
 RectanglegetCharacterBounds(Coord c)
    
public  intgetColumns()
    
public  intgetCursorCol()
    
public  CoordgetCursorCoord()
     Get (absolute) cursor coordinates.
public  intgetCursorRow()
     Get cursor row in buffer coordinates (0-origin).
public  StringgetEmulation()
     Returns the termcap string that best describes what this Term emulates.
public  DimensiongetGlyphCellSize()
    
public  ColorgetHighlightColor()
    
public  ColorgetHighlightXORColor()
    
public  intgetHistoryBuffSize()
     returns curent history size of buffer.
public  intgetHistorySize()
    
 InterpgetInterp()
     Return the Interpreter assigned to this.
public  HashSetgetKeyStrokeSet()
     Get KeyStroke set.

Be default Term consumes all keystrokes.

public  StringgetRowText(int row)
    
public  intgetRows()
    
public  JComponentgetScreen()
     Returns the actual drawing area so events can be interposed upon, like context menus.
public  StringgetSelectedText()
     Get contents of current selection.
public  ExtentgetSelectionExtent()
     Get the extent of the current selection.
public  intgetTabSize()
     Get the TAB size.
public  WordDelineatorgetWordDelineator()
     Get the WordDelineator used by this.
public  voidgoTo(Coord coord)
    
public  booleanisAnchored()
     Return true if the text is currently anchored.
public  booleanisAutoCopy()
    
public  booleanisClickToType()
    
public  booleanisCoordVisible(Coord target)
     If the given coordinate is visible within the screen returns true, otherwise returns false.
public  booleanisCursorVisible()
     Find out if cursor is visible.
public  booleanisHorizontallyScrollable()
    
public  booleanisReadOnly()
     Return whether keystrokes are ignored.
public  booleanisRefreshEnabled()
    
public  booleanisReverseVideo()
     Return the value set by setReverseVideo().
public  booleanisScrollOnInput()
     Return whether Term scrolls to the bottom on keyboard input.
public  booleanisScrollOnOutput()
     Return whether Term scrolls on any output.
public  booleanisSelectionXOR()
    
public  booleanisSizeRounded()
     Returns true if Term will round down resize requests to character cell size.
public  booleanisTrackCursor()
     Return whether Term will scroll to track the cursor as text is added.
public  voidlineDown(int n)
     Scroll the view 'n' lines down.
public  voidlineUp(int n)
     Scroll the view 'n' lines up.
public  PointmapToBufRowCol(Point p)
     Convert pixel coords to (history) buffer row/column coords (both 0-origin).
public  PointmapToViewRowCol(Point p)
     Convert pixel coords to view (visible area) row/column coords (both o-origin).
 voidnoteColumn(Line l, int capacity)
    
public  Opsops()
     Return the terminal operations implementation.
public  voidpageDown(int n)
     Scroll the view 'n' pages down.
public  voidpageLeft(int n)
     Scroll the view 'n' pages to the left.
public  voidpageRight(int n)
     Scroll the view 'n' pages to the right.
public  voidpageUp(int n)
     Scroll the view 'n' pages up.
public  voidpaste()
    
public  voidpasteFromClipboard()
     Transfer contents of clipboard to Terms input stream.
public  voidpasteFromSelection()
     Transfer contents of selection to Terms input stream.
public  voidpossiblyNormalize(Coord target)
     Ensure that the given coordinate is visible.
public  voidpossiblyNormalize(ActiveRegion region)
     Ensure that maximum of the given region is visible.
protected  voidpossibly_repaint(boolean adjust_scrollbar)
    
public  voidprintStats(String message)
    
public  voidpushStream(TermStream stream)
    
public  voidputChar(char c)
     Send a character to the terminal screen.
public  voidputChars(char buf, int offset, int count)
     Send several characters to the terminal screen.
public  RegionManagerregionManager()
    
public  voidremoveInputListener(TermInputListener l)
    
public  voidremoveListener(TermListener l)
     Remove the given TermListener from this.
protected  voidrepaint(boolean adjust_scrollbar)
     Model and or view settings have changed, redraw everything.
public  voidrequestFocus()
     Override of JComponent.
public  booleanrequestFocusInWindow()
    
public  voidreverseVisitLogicalLines(Coord begin, Coord end, LogicalLineVisitor llv)
     Visit logical lines in reverse from end through begin.
public  voidsetActiveColor(Color color)
     Set the feedback color of active regions.
public  voidsetAnchored(boolean anchored)
     Control whether an anchor is set.
public  voidsetAttribute(int value)
     Set the display attribute for characters printed from now on.
public  voidsetAutoCopy(boolean auto_copy)
     Set whether slections automatically get copied to the systemSelection when the selection is completed (the button is released).

This is how xterm and other X-windows selections work.

This property can probably be deprecated.

public  voidsetCharacterAttribute(Coord begin, Coord end, int value, boolean on)
     Set or unset the display attribute for characters from 'begin' to 'end' inclusive to 'value' depending on the value of 'on'.
public  voidsetClickToType(boolean click_to_type)
     Set/unset focus policy.
public  voidsetColumns(int cols)
     Set the number of character columns in the screen.
public  voidsetCursorCoord(Coord coord)
    
public  voidsetCursorVisible(boolean cursor_visible)
     Control whether the cursor is visible or not.
public  voidsetCustomColor(int number, Color c)
     Register up to 8 new custom colors. Unlike glyph id's you can start the numbers from 0.
public  voidsetDebugFlags(int flags)
    
public  voidsetEmulation(String emulation)
     Set the Interpreter type by name.
public  voidsetEnabled(boolean enabled)
     Override of JComponent.
public  voidsetFont(Font new_font)
     Override of JComponent.
public  voidsetGlyph(int glyph_id, int background_id)
    
public  voidsetGlyphGutterWidth(int pixels)
    
public  voidsetGlyphImage(int glyph_number, Image image)
     Associate an Image with a glyph id, or clear it if image is null. Numbering the glyphs is confusing.
public  voidsetHighlightColor(Color color)
    
public  voidsetHighlightXORColor(Color color)
    
public  voidsetHistorySize(int new_size)
     Set how many lines of history will be available.
public  voidsetHorizontallyScrollable(boolean horizontally_scrollable)
     Controls horizontal scrolling and line wrapping.
public  voidsetInputListener(TermInputListener l)
     Set/unset input listener.
 voidsetInterp(Interp interp)
     Set the emulation interpreter.
public  voidsetKeyStrokeSet(HashSet keystroke_set)
    
public  voidsetListener(TermListener l)
     Set/unset misc listener.
public  voidsetReadOnly(boolean read_only)
     Control whether keystrokes are ignored.
public  voidsetRefreshEnabled(boolean refresh_enabled)
    
public  voidsetReverseVideo(boolean reverse_video)
     Control whether the default foreground and background colors will be reversed.
public  voidsetRowGlyph(int row, int glyph_id, int background_id)
    
public  voidsetRows(int rows)
     Set the number of character rows in the screen.
public  voidsetRowsColumns(int rows, int columns)
     Simultaneously set the number of character rows and columns.

A Term is a composite widget made of a contained screen (getScreen()) and a scrollbar.

public  voidsetScrollOnInput(boolean scroll_on_input)
     Control whether Term scrolls to the bottom on keyboard input.
public  voidsetScrollOnOutput(boolean scroll_on_output)
     Control whether Term scrolls on any output.

When set to false, if the user moves the scrollbar to see some text higher up in history, the view will not change even if more output is produced.

public  voidsetSelectionExtent(Extent extent)
     Set the extent of the selection.
public  voidsetSelectionXOR(boolean selection_xor)
     Sets whether the selection highlighting is XOR style or normal Swing style.
public  voidsetSizeRounded(boolean size_rounded)
     Governs whether Term will round down resize requests to character cell size.

Sizes are usually set by containers' layout managers.

public  voidsetTabSize(int tab_size)
     Set the TAB size.

The cursor is moved to the next column such that

 column (0-origin) modulo tab_size == 0
 
The cursor will not go past the last column.

Note that the conventional assumption of what a tab is, is not entirely accurate.

public  voidsetText(String text)
     Clear everything and assign new text.

If the size of the text exceeds history early parts of it will get lost, unless an anchor was set using setAnchor().

public  voidsetTrackCursor(boolean track_cursor)
     Control whether Term will scroll to track the cursor as text is added.
public  voidsetWordDelineator(WordDelineator word_delineator)
     Set/unset WordDelineator.
 voidsizeChanged(int newWidth, int newHeight)
     Called whenver the screens size is to be changed, either by us via updateScreenSize(), or thru user action and the Screen componentResized() notification.
public  StringtextWithin(Coord begin, Coord end)
    
 BCoordtoBufCoords(BCoord v)
    
 PointtoPixel(BCoord v)
    
public  PointtoPixel(Coord target)
     Convert row/column coords to pixel coords within the widgets coordinate system.
 BCoordtoViewCoord(BCoord b)
    
 BCoordtoViewCoord(Point p)
    
protected  voidupdateTtySize()
     Once the terminal is connected to something, use this function to send all Term Listener notifications.
 voidvisitLines(Coord begin, Coord end, boolean newlines, LineVisitor visitor)
     Visit the physical lines from begin, through 'end'.
public  voidvisitLogicalLines(Coord begin, Coord end, LogicalLineVisitor llv)
     Visit logical lines from begin through end.

Field Detail
DEBUG_INPUT
final public static int DEBUG_INPUT(Code)



DEBUG_KEYS
final public static int DEBUG_KEYS(Code)



DEBUG_MARGINS
final public static int DEBUG_MARGINS(Code)



DEBUG_OPS
final public static int DEBUG_OPS(Code)



DEBUG_OUTPUT
final public static int DEBUG_OUTPUT(Code)



DEBUG_WRAP
final public static int DEBUG_WRAP(Code)



buf
Buffer buf(Code)



firsta
protected int firsta(Code)



metrics
MyFontMetrics metrics(Code)



selection_xor
boolean selection_xor(Code)



word_delineator
WordDelineator word_delineator(Code)




Constructor Detail
Term
public Term()(Code)
Constructor




Method Detail
CoordToPosition
public int CoordToPosition(Coord c)(Code)
[DO NOT USE] Convert a 2D Coord to a 1D linear position.

This function really should be private but I need it to be public for unit-testing purposes.




PositionToCoord
public Coord PositionToCoord(int position)(Code)
[DO NOT USE] Convert a 1D linear position to a 2D Coord.

This function really should be private but I need it to be public for unit-testing purposes.




addInputListener
public void addInputListener(TermInputListener l)(Code)
Add an input listener to this.

Text entered via the keyboard gets sent via this listener.




addListener
public void addListener(TermListener l)(Code)
Add a TermListener to this.



advance
public Coord advance(Coord c)(Code)
Advance the coordinate by one charater and return new coord.

Travels forward over line boundaries.
Returns null if 'c' is the last character in the buffer.




appendText
public void appendText(String text, boolean repaint)(Code)
Add new text at the current cursor position.

Doesn't repaint the view unless 'repaint' is set to 'true'.
Doesn't do anything if 'text' is 'null'.




backgroundColor
Color backgroundColor(boolean reverse, int attr)(Code)



backup
public Coord backup(Coord c)(Code)
Back up the coordinate by one character and return new Coord.

Travels back over line boundaries
Returns null if 'c' is the first character in the buffer.




charWidth
public int charWidth(char c)(Code)
Return the cell width of the given character.



checkForMultiCell
void checkForMultiCell(char c)(Code)
Trampoline from Line to MyFontMetrics.checkForMultiCell()



clear
public void clear()(Code)
Clear the visible portion of screen



clearHistory
public void clearHistory()(Code)
Clear all of the history, including any visible portion of it.

Use Term.clearHistoryNoRefresh() if you find that clearHistory causes flickering.




clearHistoryNoRefresh
public void clearHistoryNoRefresh()(Code)
Clear all of the history without repainting the screen.

This is useful if you want to avoid flicker.




clearSelection
public void clearSelection()(Code)
Clear the selection.



columnLeft
public void columnLeft(int n)(Code)
Scroll the view 'n' columns to the left.



columnRight
public void columnRight(int n)(Code)
Scroll the view 'n' columns to the right.



copy
public void copy()(Code)
Transfer selected text into clipboard.



copyToClipboard
public void copyToClipboard()(Code)
Transfer selected text into clipboard.



copyToSelection
public void copyToSelection()(Code)
Transfer selected text into selection.



debugInput
protected boolean debugInput()(Code)
Return true if DEBUG_INPUT flag has been set.



debugOutput
protected boolean debugOutput()(Code)
Return true if DEBUG_OUTPUT flag has been set.



do_paint
void do_paint(Graphics g)(Code)



extentInLogicalLine
public Extent extentInLogicalLine(Coord begin, int offset, int length)(Code)
Convert offsets in logical lines into physical coordinates.

Usually called from within a LogicalLineVisitor.visit(). 'begin' should be the 'begin' Coord passed to visit. 'offset' is an offset into the logical line, the 'text' argument passed to visit().

Note that 'offset' is relative to begin.col!

Following is an example of a line "aaaaaxxxxxxxxxXXXxxxxxxxx" which got wrapped twice. Suppose you're searching for "XXX" and you began your search from the first 'x' on row 2.

 row |  columns |
 ----+----------+
 0	|0123456789|
 1	|          |
 2	|aaaaaxxxxx| wrap
 3	|xxxxXXXxxx| wrap
 4	|xxxxx     |
 5	|	   |
 
The visitor will be called with 'begin' pointing at the first 'x', 'end' pointing at the last 'x' and 'text' containing the above line. Let's say you use String.indexOf("XXX") and get an offset of 9. Passing the 'begin' through and the 9 as an offset and 3 as the length will yield an Extent (3,4) - (3,7) which youcan forward to setSelectionExtent();

The implementation of this function is not snappy (it calls Term.advance() in a loop) but the assumption is that his function will not be called in a tight loop.




fillSizeInfo
public void fillSizeInfo(Dimension cells, Dimension pixels)(Code)



fireSelectionExtentChanged
void fireSelectionExtentChanged()(Code)



flush
public void flush()(Code)
Force a repaint.

Normally a putChar() or putChars() will call repaint, unless ... setRepaintEnabled() has been called with false. This function allows for some flexibility wrt to buffering and flushing:

 term.setRefreshEnabled(false);
 for (cx = 0; cx < buf.length; cx++) {
 term.putChar(c);
 if (c % 10 == 0)
 term.flush();
 }
 term.setRefreshEnabled(true);
 



foregroundColor
Color foregroundColor(boolean reverse, int attr)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)
Since Term is a composite widget the main accessible JComponent is not Term but an internal JComponent. We'll speak of Term accessibility when we in fact are referring to the that inner component.

Accessibility for Term is tricky because it doesn't fit into the roles delineated by Swing. The closest role is that of TEXT and that is too bound to how JTextComponent works. To wit ...

2D vs 1D coordinates
Term has a 2D coordinate system while AccessibleText works with 1D locations. So Term actually has code which translates between the two. This code is not exactly efficient but only kicks in when assistive technology latches on.
Line breaks ('\n's) count as characters! However we only count logical line breaks ('\n's appearing in the input stream) as opposed to wrapped lines!

The current implementation doesn't cache any of the mappings because that would require a word per line extra storage for the cumulative char count. The times actually we're pretty fast with a 4000 line histroy.

WORDs and SENTENCEs
For AccessibleText.get*Index() functions WORD uses the regular Term WordDelineator. SENTENCE translates to just a line.
Character attributes
Term uses the ANSI convention of character attributes so when AccessibleText.getCharacterAttribute() is used a rough translation is made as follows:
  • ANSI underscore -> StyleConstants.Underline
  • ANSI bright/bold -> StyleConstants.Bold
  • Non-black foreground color -> StyleConstants.Foreground
  • Explicitly set background color -> StyleConstants.Background
Font related information is always constant so it is not provided.
History
Term has history and lines wink out. If buffer coordinates were used to interact with accessibility, caretPosition and charCount would be dancing around. Fortunately Term has absolute coordinates. So positions returned via AccessibleText might eventually refer to text that has gone by.
Caret and Mark vs Cursor and Selection
While Term keeps the selection and cursor coordinates independent, JTextComponent merges them and AccessibleText inherits this view. With Term caretPosition is the position of the cursor and selection ends will not neccessarily match with the caret position.

Currently only notifications of ACCESSIBLE_CARET_PROPERTY and ACCESSIBLE_TEXT_PROPERTY are fired and that always in pairs. They are fired on the receipt of any character to be processed.

IMPORTANT: It is assumed that under assistive technology Term will be used primarily as a continuous text output device or a readonly document. Therefore ANSI cursor motion and text editing commands or anything that mutates the text will completely invalidate all of AccessibleTexts properties. (Perhaps an exception SHOULD be made for backspace)




getActiveColor
public Color getActiveColor()(Code)
Get the feedback color of active regions.



getCanvas
public JComponent getCanvas()(Code)
Returns the actual drawing area so events can be interposed upon, like context menus.



getCharCount
int getCharCount()(Code)
Return the number of characters stored.

Include logical newlines for now to match the above conversions. Hmm, do we include chars in prehistory?




getCharacterBounds
Rectangle getCharacterBounds(Coord c)(Code)
Return the bounding rectangle of the character at the given coordinate



getColumns
public int getColumns()(Code)
Get the number of character columns in the screen



getCursorCol
public int getCursorCol()(Code)
Get cursor column in buffer coordinates (0-origin)



getCursorCoord
public Coord getCursorCoord()(Code)
Get (absolute) cursor coordinates.

The returned Coord is newly allocated and need not be cloned.




getCursorRow
public int getCursorRow()(Code)
Get cursor row in buffer coordinates (0-origin).



getEmulation
public String getEmulation()(Code)
Returns the termcap string that best describes what this Term emulates.



getGlyphCellSize
public Dimension getGlyphCellSize()(Code)
Get the usable area for drawing glyphs This value changes when the gutter width or the font changes



getHighlightColor
public Color getHighlightColor()(Code)
Get the color of the hilite (selection) - for non XOR mode



getHighlightXORColor
public Color getHighlightXORColor()(Code)
Get the color of the hilite (selection) - for XOR mode



getHistoryBuffSize
public int getHistoryBuffSize()(Code)
returns curent history size of buffer.



getHistorySize
public int getHistorySize()(Code)
Return the number of lines in history



getInterp
Interp getInterp()(Code)
Return the Interpreter assigned to this.



getKeyStrokeSet
public HashSet getKeyStrokeSet()(Code)
Get KeyStroke set.

Be default Term consumes all keystrokes. Any KeyStroke added to this set will be passed through and not consumed.

Be careful with control characters you need to create the keystroke as follows (note the - 64):

 KeyStroke.getKeyStroke(new Character((char)('T'-64)), Event.CTRL_MASK)
 



getRowText
public String getRowText(int row)(Code)



getRows
public int getRows()(Code)
Get the number of character rows in the screen



getScreen
public JComponent getScreen()(Code)
Returns the actual drawing area so events can be interposed upon, like context menus.



getSelectedText
public String getSelectedText()(Code)
Get contents of current selection.

Returns 'null' if there is no current selection.




getSelectionExtent
public Extent getSelectionExtent()(Code)
Get the extent of the current selection.

If there is no selection returns 'null'.




getTabSize
public int getTabSize()(Code)
Get the TAB size.



getWordDelineator
public WordDelineator getWordDelineator()(Code)
Get the WordDelineator used by this.



goTo
public void goTo(Coord coord)(Code)



isAnchored
public boolean isAnchored()(Code)
Return true if the text is currently anchored.



isAutoCopy
public boolean isAutoCopy()(Code)
Return the value set by setAutoCopy()



isClickToType
public boolean isClickToType()(Code)



isCoordVisible
public boolean isCoordVisible(Coord target)(Code)
If the given coordinate is visible within the screen returns true, otherwise returns false.



isCursorVisible
public boolean isCursorVisible()(Code)
Find out if cursor is visible.



isHorizontallyScrollable
public boolean isHorizontallyScrollable()(Code)



isReadOnly
public boolean isReadOnly()(Code)
Return whether keystrokes are ignored.



isRefreshEnabled
public boolean isRefreshEnabled()(Code)



isReverseVideo
public boolean isReverseVideo()(Code)
Return the value set by setReverseVideo().



isScrollOnInput
public boolean isScrollOnInput()(Code)
Return whether Term scrolls to the bottom on keyboard input.



isScrollOnOutput
public boolean isScrollOnOutput()(Code)
Return whether Term scrolls on any output.



isSelectionXOR
public boolean isSelectionXOR()(Code)



isSizeRounded
public boolean isSizeRounded()(Code)
Returns true if Term will round down resize requests to character cell size.

See Term.setSizeRounded(boolean) for more info.




isTrackCursor
public boolean isTrackCursor()(Code)
Return whether Term will scroll to track the cursor as text is added.



lineDown
public void lineDown(int n)(Code)
Scroll the view 'n' lines down.



lineUp
public void lineUp(int n)(Code)
Scroll the view 'n' lines up.



mapToBufRowCol
public Point mapToBufRowCol(Point p)(Code)
Convert pixel coords to (history) buffer row/column coords (both 0-origin).

In the returned Point, x represents the column, y the row.




mapToViewRowCol
public Point mapToViewRowCol(Point p)(Code)
Convert pixel coords to view (visible area) row/column coords (both o-origin).

In the returned Point, x represents the column, y the row.




noteColumn
void noteColumn(Line l, int capacity)(Code)
Trampoline from Line.ensureCapacity() to Buffer.noteColumn()



ops
public Ops ops()(Code)
Return the terminal operations implementation. WARNING! This is temporary



pageDown
public void pageDown(int n)(Code)
Scroll the view 'n' pages down.

A page is the height of the view.




pageLeft
public void pageLeft(int n)(Code)
Scroll the view 'n' pages to the left.



pageRight
public void pageRight(int n)(Code)
Scroll the view 'n' pages to the right.



pageUp
public void pageUp(int n)(Code)
Scroll the view 'n' pages up.

A page is the height of the view.




paste
public void paste()(Code)



pasteFromClipboard
public void pasteFromClipboard()(Code)
Transfer contents of clipboard to Terms input stream.

The pasted content is sent through sendChars.
The paste will silently fail if:

  • The selection has null contents.
  • The selections data flavor is not string.



pasteFromSelection
public void pasteFromSelection()(Code)
Transfer contents of selection to Terms input stream.

The pasted content is sent through sendChars.
The paste will silently fail if:

  • The selection has null contents.
  • The selections data flavor is not string.



possiblyNormalize
public void possiblyNormalize(Coord target)(Code)
Ensure that the given coordinate is visible.

If the given coordinate is visible within the screen nothing happens. Otherwise the screen is scrolled so that the given target ends up approximately mid-sceeen.




possiblyNormalize
public void possiblyNormalize(ActiveRegion region)(Code)
Ensure that maximum of the given region is visible.

If the given region is visible within the screen nothing happens. If the region is bigger than the screen height, first line of the region will be displayed in first line of screen and end of region won't be displayed. If the region is bigger than the half of screen height, last line of the region will be displayed in the last line of the screen. Otherwise the region will start approximately in mid-sceeen




possibly_repaint
protected void possibly_repaint(boolean adjust_scrollbar)(Code)



printStats
public void printStats(String message)(Code)



pushStream
public void pushStream(TermStream stream)(Code)



putChar
public void putChar(char c)(Code)
Send a character to the terminal screen.



putChars
public void putChars(char buf, int offset, int count)(Code)
Send several characters to the terminal screen.
While 'buf' will have a size it may not be fully filled, hence the explicit 'nchar'.



regionManager
public RegionManager regionManager()(Code)
Return the RegionManager associated with this Term



removeInputListener
public void removeInputListener(TermInputListener l)(Code)



removeListener
public void removeListener(TermListener l)(Code)
Remove the given TermListener from this.



repaint
protected void repaint(boolean adjust_scrollbar)(Code)
Model and or view settings have changed, redraw everything.



requestFocus
public void requestFocus()(Code)
Override of JComponent.

Pass on the request to the screen where all the actual focus management happens.




requestFocusInWindow
public boolean requestFocusInWindow()(Code)



reverseVisitLogicalLines
public void reverseVisitLogicalLines(Coord begin, Coord end, LogicalLineVisitor llv)(Code)
Visit logical lines in reverse from end through begin.

If begin is null, then the start of the buffer is assumed. If end is null, then the end of the buffer is assumed.




setActiveColor
public void setActiveColor(Color color)(Code)
Set the feedback color of active regions.



setAnchored
public void setAnchored(boolean anchored)(Code)
Control whether an anchor is set.

Setting an anchor will automatically cause the buffer to grow, in excess of what was set by setHistorySize(), to ensure that whatever is displayed and in the current history will still be accessible.

Also, if you're working with Extents, Coords and ActiveRegions, or visiting logical lines, you might want to anchor the text so that your coordinates don't get invalidated by lines going out of the buffer.

Repeated enabling of the anchor will discard all text that doesn't fit in history and start a new anchor.

When anchoring is disabled any text in excess of setHistorySize() is trimmed and the given history size comes into effect again.




setAttribute
public void setAttribute(int value)(Code)
Set the display attribute for characters printed from now on.

Unrecognized values silently ignored.




setAutoCopy
public void setAutoCopy(boolean auto_copy)(Code)
Set whether slections automatically get copied to the systemSelection when the selection is completed (the button is released).

This is how xterm and other X-windows selections work.

This property can probably be deprecated. It was neccessary in the pre-1.4.2 days when we didn't have a systemSelection and we wanted to have the option of not cloberring the systemClipboard on text selection.




setCharacterAttribute
public void setCharacterAttribute(Coord begin, Coord end, int value, boolean on)(Code)
Set or unset the display attribute for characters from 'begin' to 'end' inclusive to 'value' depending on the value of 'on'.

Will cause a repaint.




setClickToType
public void setClickToType(boolean click_to_type)(Code)
Set/unset focus policy.
When set, the Term screen will grab focus when clicked on, otherwise it will grab focus when the mouse moves into it.



setColumns
public void setColumns(int cols)(Code)
Set the number of character columns in the screen.

See setRowsColumns() for some additional important information.




setCursorCoord
public void setCursorCoord(Coord coord)(Code)
Move the cursor to the given (absolute) coordinates SHOULD be setCursorCoord!



setCursorVisible
public void setCursorVisible(boolean cursor_visible)(Code)
Control whether the cursor is visible or not.

We don't want a visible cursor when we're using Term in non-interactve mode.




setCustomColor
public void setCustomColor(int number, Color c)(Code)
Register up to 8 new custom colors. Unlike glyph id's you can start the numbers from 0. hbvi/vim's :K command will add a 58 to the number, but that is the code we interpret as custom color #0.



setDebugFlags
public void setDebugFlags(int flags)(Code)



setEmulation
public void setEmulation(String emulation)(Code)
Set the Interpreter type by name.
See Also:   Term.setInterp



setEnabled
public void setEnabled(boolean enabled)(Code)
Override of JComponent.

Pass on enabledness to sub-components (scrollbars and screen)




setFont
public void setFont(Font new_font)(Code)
Override of JComponent.

We absolutely require fixed width fonts, so if the font is changed we create a monospaced version of it with the same style and size.




setGlyph
public void setGlyph(int glyph_id, int background_id)(Code)



setGlyphGutterWidth
public void setGlyphGutterWidth(int pixels)(Code)
Set the width of the glyph gutter in pixels



setGlyphImage
public void setGlyphImage(int glyph_number, Image image)(Code)
Associate an Image with a glyph id, or clear it if image is null. Numbering the glyphs is confusing. They start with 48. That is, if you register glyph #0 using hbvi/vim :K command the escape sequence emitted is 48. 48 is ascii '0'.



setHighlightColor
public void setHighlightColor(Color color)(Code)
Set the color of the hilite (selection) - for non XOR mode



setHighlightXORColor
public void setHighlightXORColor(Color color)(Code)
Set the color of the hilite (selection) - for XOR mode



setHistorySize
public void setHistorySize(int new_size)(Code)
Set how many lines of history will be available.

If an anchor is in effect the history size will only have an effect when the anchor is reset.




setHorizontallyScrollable
public void setHorizontallyScrollable(boolean horizontally_scrollable)(Code)
Controls horizontal scrolling and line wrapping.

When enabled a horizontal scrollbar becomes visible and line-wrapping is disabled.




setInputListener
public void setInputListener(TermInputListener l)(Code)
Set/unset input listener. Entered text gets sent via this listener Term.addInputListener(TermInputListener)



setInterp
void setInterp(Interp interp)(Code)
Set the emulation interpreter.

It is not advisable to change the emulation after Term has been connected to a process, since it's often impossible to advise the process of the new terminal type.




setKeyStrokeSet
public void setKeyStrokeSet(HashSet keystroke_set)(Code)



setListener
public void setListener(TermListener l)(Code)
Set/unset misc listener. The following events gets sent via this listener: window size changes Term.addListener(TermListener)



setReadOnly
public void setReadOnly(boolean read_only)(Code)
Control whether keystrokes are ignored.



setRefreshEnabled
public void setRefreshEnabled(boolean refresh_enabled)(Code)



setReverseVideo
public void setReverseVideo(boolean reverse_video)(Code)
Control whether the default foreground and background colors will be reversed.

Note: This is independent of characters' reverse attribute.




setRowGlyph
public void setRowGlyph(int row, int glyph_id, int background_id)(Code)



setRows
public void setRows(int rows)(Code)
Set the number of character rows in the screen.

See setRowsColumns() for some additional important information.




setRowsColumns
public void setRowsColumns(int rows, int columns)(Code)
Simultaneously set the number of character rows and columns.

A Term is a composite widget made of a contained screen (getScreen()) and a scrollbar. It is not a JScrollPane. You're actually setting the screen size here.

Setting the column size also sets the width of the buffer. This doesn't alter the length (column at which lines were wrapped) of past lines, but only new additional lines. For example, if you set columns to 20, print a bunch of lines that wrap, then resize to 80 columns, all the lines that were wrapped to 20 will stay wrapped that way. This is consistent with xterm behaviour.

If this Term is embedded in a component with a layout manager that is set up to accept child resizes gracefully this widget will be resized as expected.

Alternatively if this Term is embedded in a Window (like JFrame) the window will need to be re-pack()ed as it does not accomodate it's childrens size changes. This has to be done by the application using Term. The best way to do this is to add a TermListener() and call pack() on the appropriate window when a resize notification is fired.




setScrollOnInput
public void setScrollOnInput(boolean scroll_on_input)(Code)
Control whether Term scrolls to the bottom on keyboard input.

This is analogous to the xterm -sk/+sk option.




setScrollOnOutput
public void setScrollOnOutput(boolean scroll_on_output)(Code)
Control whether Term scrolls on any output.

When set to false, if the user moves the scrollbar to see some text higher up in history, the view will not change even if more output is produced. But if the cursor is visible, scrolling will happen. This is so that in an interactive session any prompt will be visible etc.

However, the tracking of the cursor is controlled by the 'trackCursor' property which by default is set to 'true'.

This property is analogous to the xterm -si/+si option.




setSelectionExtent
public void setSelectionExtent(Extent extent)(Code)
Set the extent of the selection.



setSelectionXOR
public void setSelectionXOR(boolean selection_xor)(Code)
Sets whether the selection highlighting is XOR style or normal Swing style.



setSizeRounded
public void setSizeRounded(boolean size_rounded)(Code)
Governs whether Term will round down resize requests to character cell size.

Sizes are usually set by containers' layout managers. If rounding is enabled Term will attempt to adjust the size to an even multiple of the character cell size.

The layout manager might not neccesarily honor the rounded size. The situation can be somewhat improved by making sure that the ultimate container is re-packed as described in Term.setRowsColumns(int,int) .




setTabSize
public void setTabSize(int tab_size)(Code)
Set the TAB size.

The cursor is moved to the next column such that

 column (0-origin) modulo tab_size == 0
 
The cursor will not go past the last column.

Note that the conventional assumption of what a tab is, is not entirely accurate. ANSI does not define TABs as above but rather as a directive to move to the next "tabstop" which has to have been set previously. In fact on unixes it is the terminal line discipline that expands tabs to spaces in the conventional way. That in, turn explains why TAB information doesn't make it into selections and why copying and pasting Makefile instructions is liable to lead to hard-to-diagnose make rpoblems, which, in turn drove the ANT people to reinvent the world.




setText
public void setText(String text)(Code)
Clear everything and assign new text.

If the size of the text exceeds history early parts of it will get lost, unless an anchor was set using setAnchor().




setTrackCursor
public void setTrackCursor(boolean track_cursor)(Code)
Control whether Term will scroll to track the cursor as text is added.

If set to true, as output is being generated Term will try to keep the cursor in view.

This property is only relevant when scrollOnOutput is set to false. If scrollOnOutput is true, this property is also implicitly true.




setWordDelineator
public void setWordDelineator(WordDelineator word_delineator)(Code)
Set/unset WordDelineator. Passing a null sets it to the default WordDelineator.



sizeChanged
void sizeChanged(int newWidth, int newHeight)(Code)
Called whenver the screens size is to be changed, either by us via updateScreenSize(), or thru user action and the Screen componentResized() notification. Adjust the state and buffer, commit to the size by setting preferredSize and notify any interested parties.



textWithin
public String textWithin(Coord begin, Coord end)(Code)



toBufCoords
BCoord toBufCoords(BCoord v)(Code)



toPixel
Point toPixel(BCoord v)(Code)



toPixel
public Point toPixel(Coord target)(Code)
Convert row/column coords to pixel coords within the widgets coordinate system. It returns the pixel of the upper left corner of the target cell.



toViewCoord
BCoord toViewCoord(BCoord b)(Code)



toViewCoord
BCoord toViewCoord(Point p)(Code)
Convert pixel coords to view row/column coords (0/0-origin)



updateTtySize
protected void updateTtySize()(Code)
Once the terminal is connected to something, use this function to send all Term Listener notifications.



visitLines
void visitLines(Coord begin, Coord end, boolean newlines, LineVisitor visitor)(Code)
Visit the physical lines from begin, through 'end'.

If 'newlines' is set, the passed 'ecol' is set to the actual number of columns in the view to signify that the newline is included. This way of doing it helps with rendering of a whole-line selection. Also Line knows about this and will tack on a "\n" when Line.text() is asked for.




visitLogicalLines
public void visitLogicalLines(Coord begin, Coord end, LogicalLineVisitor llv)(Code)
Visit logical lines from begin through end.

If begin is null, then the start of the buffer is assumed. If end is null, then the end of the buffer is assumed.




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.