| 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 int | addColumn() Add a column at the right side of the table, with all cells initially
empty. | public int | addColumn(String name) Add a column with the specified name at the right side of the table, with all cells initially
empty. | public void | addRows(int rowCt) Add the specified number of empty rows at the bottom of the table. | public void | addVariablesToParser(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 void | clear() Remove all rows from the table, leaving just one empty row. | public void | deleteCurrentRow() Delete the row that contains the cell that the user is editing. | public void | doParse(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 boolean | getAutoAddRows() Get the value of the autoAddRows property, which determines whether empty
rows are automatically added to the bottom of the table when needed. | public Color | getBlankBackground() Returns the color that is used for blank areas in the table, below the
rows of cells. | public Color | getCellBackground() Returns the color that is used as a background for cells in the table. | public double | getCellContents(int row, int col) Get the number in the specified row and column. | public int | getColumnCount() Get the number of columns in the table. | public String | getColumnName(int i) Get the name of column number i, where columns are numbered starting from zero. | protected Variable | getColumnVariable(int columnNum) Return a column variable for the specified column, where columns are
numbered starting from 1. | public int | getCurrentRowNumber() Return the current row number. | public double | getEmptyCellValue() Get the value that is represented by an empty cell. | public Color | getGridColor() Returns the color that is used for the lines between cells in the table. | public Color | getLabelBackground() Returns the color that is used as a background for row numbers and column titles. | public String | getName() Get the name of the DataInputTable (which might be null). | public int | getNonEmptyRowCount() Return the number of rows in the table, ignoring empty rows at the bottom
of the table. | protected Variable | getRowNumberVariable() Get a variable that represents the current row number in the table,
as set by the setCurrentRowNumber() method. | public long | getSerialNumber() Get the serial number of the table. | public boolean | getShowColumnTitles() Test whether the column name is shown at the top of each column. | public boolean | getShowRowNumbers() Test whether row numbers are shown. | public boolean | getThrowErrors() 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 void | insertRow() Insert a row before the row that contains the cell that the user is editing. | public boolean | readFromStream(Reader in) Read data for table from the specified Reader. | public void | setAutoAddRows(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 void | setBlankBackground(Color color) Get the color to be used as a background blank areas in the table, below the
rows of cells. | public void | setCellBackground(Color color) Set the color to be used as a background for cells in the table. | public void | setCellContents(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 void | setColumnName(int i, String name) Set the name of column number i, where columns are numbered starting
from zero. | public void | setCurrentRowNumber(int i) Set the current row in the table. | public void | setEmptyCellValue(double val) Set the value that should be returned when the value of an empty cell is
requested. | public void | setGridColor(Color color) Get the color to be used for the lines between cells in the table. | public void | setLabelBackground(Color color) Set the color to be used as a background for row numbers and column titles. | public void | setName(String name) Set the name of this DataTableInput. | public void | setShowColumnTitles(boolean show) If set to true, then the column name is shown at the top of each column. | public void | setShowRowNumbers(boolean show) If set to true, then the row number is shown at the left of each row. | public void | setThrowErrors(boolean throwErr) Set the throwErrors property. |
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.
|
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.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)
|
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)
|
|
|