Java Doc for DataTableInput.java in  » Science » jcm1-source » edu » hws » jcm » awt » 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 » Science » jcm1 source » edu.hws.jcm.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Panel
            edu.hws.jcm.awt.DataTableInput

DataTableInput
public class DataTableInput extends Panel implements ParserExtension(Code)
A DataTableInput lets the user input a grid of real numbers arranged in rows and columns. Each column has a name, and rows are numberd starting from 1. The column names and row numbers can be displayed, optionally. By default, a new row is added automatically if the user moves down out of the last row by pressing return or down-arrow, provided the last row is non-empty. Rows can also be added programmatically. Columns are usually added in the constructor, but they can also be added later. If the user leaves a cell at a time when the content of that cell does not represent a legal number, then the message "bad input" will be displayed in the cell.

A DataTableInput can be given a name and can then be added to a parser. The parser will then recognize the name of the table. In an expression, the table name can be followed by a ".", then one of the column names from table, then an expression in parentheses. This represents a reference to the number in one of the cells in the table. The expression gives the number of the row, where rows are numbered starting from 1. For example: "data.A(3)" represents the third number in column "A" in a table named data. The table name and "." can also be followed by the word "sum" and an expression in parentheses. An expression used in this way can include references to the column names in the table and to the special value "rowNumber". The value of expression is computed for each row in the table and the sum of the values is computed. In the expression that is being summed, a column name represents the number in that column and rowNumber represents the number of the row. For example: "data.sum(A^2)". Finally, the "." can be followed by the word "count". "count" can, optionally be followed by an empty pair of parentheses. This represents the number of rows. For example: "data.count". Empty rows at the bottom of the table are ignored in both "sum" and "count".

Note that rows are numbered starting from 1 because row numbers can be visible to the user, who shouldn't be subjected to zero-based numbering. However, columns are always numbered from zero.




Constructor Summary
public  DataTableInput()
     Create a DataTableInput with no columns.
public  DataTableInput(String name, String[] columnNames)
     Create a table with the specified column names.
public  DataTableInput(String name, int columns)
     Create a table with the specified number of columns, named "A", "B", etc.

Method Summary
public  intaddColumn()
     Add a column at the right side of the table, with all cells initially empty.
public  intaddColumn(String name)
     Add a column with the specified name at the right side of the table, with all cells initially empty.
public  voidaddRows(int rowCt)
     Add the specified number of empty rows at the bottom of the table.
public  voidaddVariablesToParser(Parser p)
     Add a row number variable (from the getRowNumberVariable() method) and a column variable for each column (from the getColumnVariable() method) to the parser.
public  voidclear()
     Remove all rows from the table, leaving just one empty row.
public  voiddeleteCurrentRow()
     Delete the row that contains the cell that the user is editing.
public  voiddoParse(Parser parser, ParserContext context)
     Required by the ParserExtension interface and not meant to be called directly. This is called by a parser if it encounters the name of the table in an expression.
public  booleangetAutoAddRows()
     Get the value of the autoAddRows property, which determines whether empty rows are automatically added to the bottom of the table when needed.
public  ColorgetBlankBackground()
     Returns the color that is used for blank areas in the table, below the rows of cells.
public  ColorgetCellBackground()
     Returns the color that is used as a background for cells in the table.
public  doublegetCellContents(int row, int col)
     Get the number in the specified row and column.
public  intgetColumnCount()
     Get the number of columns in the table.
public  StringgetColumnName(int i)
     Get the name of column number i, where columns are numbered starting from zero.
protected  VariablegetColumnVariable(int columnNum)
     Return a column variable for the specified column, where columns are numbered starting from 1.
public  intgetCurrentRowNumber()
     Return the current row number.
public  doublegetEmptyCellValue()
     Get the value that is represented by an empty cell.
public  ColorgetGridColor()
     Returns the color that is used for the lines between cells in the table.
public  ColorgetLabelBackground()
     Returns the color that is used as a background for row numbers and column titles.
public  StringgetName()
     Get the name of the DataInputTable (which might be null).
public  intgetNonEmptyRowCount()
     Return the number of rows in the table, ignoring empty rows at the bottom of the table.
protected  VariablegetRowNumberVariable()
     Get a variable that represents the current row number in the table, as set by the setCurrentRowNumber() method.
public  longgetSerialNumber()
     Get the serial number of the table.
public  booleangetShowColumnTitles()
     Test whether the column name is shown at the top of each column.
public  booleangetShowRowNumbers()
     Test whether row numbers are shown.
public  booleangetThrowErrors()
     Get the value of the throwErrors property, which determines whether an error is thrown when an attempt is made to refer to the value of a cell that contains an invalid string.
public  voidinsertRow()
     Insert a row before the row that contains the cell that the user is editing.
public  booleanreadFromStream(Reader in)
     Read data for table from the specified Reader.
public  voidsetAutoAddRows(boolean auto)
     If the value of autoAddRows is true, then an empty row is added to the table automatically when the user attempts to move down from the last row of the table, provided that the last row is non-empty (so there can only be one auto-added row at a time).
public  voidsetBlankBackground(Color color)
     Get the color to be used as a background blank areas in the table, below the rows of cells.
public  voidsetCellBackground(Color color)
     Set the color to be used as a background for cells in the table.
public  voidsetCellContents(int row, int col, double val)
     Put the given real number, val, in the cell in the specified row and column, where rows are numbered starting from 1 and columns are numbered starting from zero.
public  voidsetColumnName(int i, String name)
     Set the name of column number i, where columns are numbered starting from zero.
public  voidsetCurrentRowNumber(int i)
     Set the current row in the table.
public  voidsetEmptyCellValue(double val)
     Set the value that should be returned when the value of an empty cell is requested.
public  voidsetGridColor(Color color)
     Get the color to be used for the lines between cells in the table.
public  voidsetLabelBackground(Color color)
     Set the color to be used as a background for row numbers and column titles.
public  voidsetName(String name)
     Set the name of this DataTableInput.
public  voidsetShowColumnTitles(boolean show)
     If set to true, then the column name is shown at the top of each column.
public  voidsetShowRowNumbers(boolean show)
     If set to true, then the row number is shown at the left of each row.
public  voidsetThrowErrors(boolean throwErr)
     Set the throwErrors property.


Constructor Detail
DataTableInput
public DataTableInput()(Code)
Create a DataTableInput with no columns. Columns can be added later using the addColumn() methods. The table initially has no name.



DataTableInput
public DataTableInput(String name, String[] columnNames)(Code)
Create a table with the specified column names. If columnNames is null, the number of columns is zero. The name can be null, if you don't need a name for the table. The length of the array determines the number of columns in the table.



DataTableInput
public DataTableInput(String name, int columns)(Code)
Create a table with the specified number of columns, named "A", "B", etc. The name can be null, if you don't need a name for the table. The number of columns can be zero.




Method Detail
addColumn
public int addColumn()(Code)
Add a column at the right side of the table, with all cells initially empty. The name of the columns will be single letter such as 'A', 'B', ...



addColumn
public int addColumn(String name)(Code)
Add a column with the specified name at the right side of the table, with all cells initially empty. This is inefficient if the table already contains a bunch of non-empty rows.



addRows
public void addRows(int rowCt)(Code)
Add the specified number of empty rows at the bottom of the table. If you want a table with a fixed number of rows, add them with this method and set the autoAddRows property to false.



addVariablesToParser
public void addVariablesToParser(Parser p)(Code)
Add a row number variable (from the getRowNumberVariable() method) and a column variable for each column (from the getColumnVariable() method) to the parser. The parser will then be able to parse expressions that refer to these variables. The value of such an expression depends on the current row number, as set by setCurrentRowNumber().



clear
public void clear()(Code)
Remove all rows from the table, leaving just one empty row.



deleteCurrentRow
public void deleteCurrentRow()(Code)
Delete the row that contains the cell that the user is editing. However, if that is the only row in the table, just make the row empty.



doParse
public void doParse(Parser parser, ParserContext context)(Code)
Required by the ParserExtension interface and not meant to be called directly. This is called by a parser if it encounters the name of the table in an expression. It parses the complete table reference, such as "data.A(3)" or "data.sum(A^2)".



getAutoAddRows
public boolean getAutoAddRows()(Code)
Get the value of the autoAddRows property, which determines whether empty rows are automatically added to the bottom of the table when needed.



getBlankBackground
public Color getBlankBackground()(Code)
Returns the color that is used for blank areas in the table, below the rows of cells.



getCellBackground
public Color getCellBackground()(Code)
Returns the color that is used as a background for cells in the table.



getCellContents
public double getCellContents(int row, int col)(Code)
Get the number in the specified row and column. Rows are numberd starting from 1, but columns are numbered starting from zero. If the specified cell does not exist in the table, Double.NaN is returned. If the cell is empty, emptyCellValue is returned. If the content of the cell does not define a legal real number, then the action depends on the value of the missingValueIsError property: If this property is true, then a JCMError is thrown; if it is false, then Double.NaN is returned.



getColumnCount
public int getColumnCount()(Code)
Get the number of columns in the table.



getColumnName
public String getColumnName(int i)(Code)
Get the name of column number i, where columns are numbered starting from zero.



getColumnVariable
protected Variable getColumnVariable(int columnNum)(Code)
Return a column variable for the specified column, where columns are numbered starting from 1. The value of this variable is the number in the specified column and in the current row of the table (as set by the setCurrentRowNumber() method.) The name of the variable is the name of the column. This method is protected since variables are not meant to be used as regular variables. But they can be added to a Parser by calling the addVariablesToParser() method.)



getCurrentRowNumber
public int getCurrentRowNumber()(Code)
Return the current row number.



getEmptyCellValue
public double getEmptyCellValue()(Code)
Get the value that is represented by an empty cell.



getGridColor
public Color getGridColor()(Code)
Returns the color that is used for the lines between cells in the table.



getLabelBackground
public Color getLabelBackground()(Code)
Returns the color that is used as a background for row numbers and column titles.



getName
public String getName()(Code)
Get the name of the DataInputTable (which might be null).



getNonEmptyRowCount
public int getNonEmptyRowCount()(Code)
Return the number of rows in the table, ignoring empty rows at the bottom of the table. Note that an empty row that precedes some non-empty row is included in the count.



getRowNumberVariable
protected Variable getRowNumberVariable()(Code)
Get a variable that represents the current row number in the table, as set by the setCurrentRowNumber() method. The name of the variable is rowNumber.



getSerialNumber
public long getSerialNumber()(Code)
Get the serial number of the table. This is incremented each time the table changes in any way.



getShowColumnTitles
public boolean getShowColumnTitles()(Code)
Test whether the column name is shown at the top of each column.



getShowRowNumbers
public boolean getShowRowNumbers()(Code)
Test whether row numbers are shown.



getThrowErrors
public boolean getThrowErrors()(Code)
Get the value of the throwErrors property, which determines whether an error is thrown when an attempt is made to refer to the value of a cell that contains an invalid string.



insertRow
public void insertRow()(Code)
Insert a row before the row that contains the cell that the user is editing.



readFromStream
public boolean readFromStream(Reader in)(Code)
Read data for table from the specified Reader. One row is filled from each non-empty line of input. The line should contain numbers separated by spaces/tabs/commas. The word "undefined" can be used to represent an empty cell. Otherwise, if a non-number is encountered, an error occurs. If not enough numbers are found on a line, the extra columns are filled with empties. After filling all columns, extra data on the line is ignored. Data currently in the table is removed and replaced (if no error occurs during reading). In the case of an error, if throwErrors is true, then a JCMError is thrown; if throwErrors is false, no error is thrown, but the return value is false. If no error occurs, the return value is true. If an error occurs, the previous data in the table is left unchanged.



setAutoAddRows
public void setAutoAddRows(boolean auto)(Code)
If the value of autoAddRows is true, then an empty row is added to the table automatically when the user attempts to move down from the last row of the table, provided that the last row is non-empty (so there can only be one auto-added row at a time). If the user leaves this row while it is still empty, it will automatically be deleted. The default value is true.



setBlankBackground
public void setBlankBackground(Color color)(Code)
Get the color to be used as a background blank areas in the table, below the rows of cells. The default is a gray.



setCellBackground
public void setCellBackground(Color color)(Code)
Set the color to be used as a background for cells in the table. The default is a light yellow.



setCellContents
public void setCellContents(int row, int col, double val)(Code)
Put the given real number, val, in the cell in the specified row and column, where rows are numbered starting from 1 and columns are numbered starting from zero. This is ignored if the specified row and column do not exist in the table.



setColumnName
public void setColumnName(int i, String name)(Code)
Set the name of column number i, where columns are numbered starting from zero. If column variables are to be used or if the DataTableInput itself is to be added to a parser, then the name should be a legal identifier. If the showColumnTitles property is set to true, then column names are shown at the top of the table.



setCurrentRowNumber
public void setCurrentRowNumber(int i)(Code)
Set the current row in the table. If the parameter is less than 1, the current row is set to 1. (The table keeps track of a "current row number", which is always greater than or equal to 1. This row number is used when a column variable or row number variable is evaluated. These variables can be added to a parser using the addVariablesToParser method, and can then be used in expressions parsed by that parser. When the row number variable, which is named rowNumber, is evaluated, its value is the current row number in the table. When a column variable is evaluated, its value is the number in the cell in the associated column and in the current row. The setCurrentRowNumber() method, in combination with the getNonEmptyRowCount() method allow you to iterate through the rows of the table and evaluate the expression for each row.)



setEmptyCellValue
public void setEmptyCellValue(double val)(Code)
Set the value that should be returned when the value of an empty cell is requested. The default value is Double.NaN. Another plausible value, in some circumstances, would be zero.



setGridColor
public void setGridColor(Color color)(Code)
Get the color to be used for the lines between cells in the table. The default is a blue.



setLabelBackground
public void setLabelBackground(Color color)(Code)
Set the color to be used as a background for row numbers and column titles. The default is a very light gray.



setName
public void setName(String name)(Code)
Set the name of this DataTableInput. This is only needed if the table is to be added to a parser. The name should be a legal identifier.



setShowColumnTitles
public void setShowColumnTitles(boolean show)(Code)
If set to true, then the column name is shown at the top of each column. The default value is false. This is meant to be called before the table has been shown on the screen, such as in the init() method of an applet. If you call it after the table has already been shown, you will have to validate the panel yourself.



setShowRowNumbers
public void setShowRowNumbers(boolean show)(Code)
If set to true, then the row number is shown at the left of each row. The default value is false. This is meant to be called before the table has been shown on the screen, such as in the init() method of an applet. If you call it after the table has already been shown, you will have to validate the panel yourself.



setThrowErrors
public void setThrowErrors(boolean throwErr)(Code)
Set the throwErrors property. If this is true, then a JCMError is thrown when an attempt is made to use the value of a cell that contains an invalid String. Note that referring to an empty cell is not an error. The default value is true.



Methods inherited from java.awt.Panel
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(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.