|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabbot.tester.ComponentLocation
abbot.tester.JTableLocation
Provides encapsulation of a location on a JTable (notably a row). Use the JTableLocation#JTableLocation(Point) ctor to indicate a specific coordinate.
Nested Class Summary | |
static class |
JTableLocation.Cell
|
Constructor Summary | |
JTableLocation()
|
|
JTableLocation(int row,
int col)
|
|
JTableLocation(Point p)
|
|
JTableLocation(String value)
|
Method Summary | |
protected String |
badFormat(String encoded)
|
protected Point |
cellToPoint(JTable table,
int row,
int col)
Convert the given row, col into a coordinate pair. |
boolean |
equals(Object o)
|
Rectangle |
getBounds(Component c)
Convert the abstract location into a concrete area. |
JTableLocation.Cell |
getCell(JTable table)
|
Point |
getPoint(Component c)
Convert the abstract location into a concrete one. |
ComponentLocation |
parse(String encoded)
Convert the given encoding into the proper location. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JTableLocation()
public JTableLocation(String value)
public JTableLocation(int row, int col)
public JTableLocation(Point p)
Method Detail |
protected String badFormat(String encoded)
badFormat
in class ComponentLocation
protected Point cellToPoint(JTable table, int row, int col)
public Point getPoint(Component c)
ComponentLocation
getPoint
in class ComponentLocation
public JTableLocation.Cell getCell(JTable table)
public Rectangle getBounds(Component c)
ComponentLocation
getBounds
in class ComponentLocation
public boolean equals(Object o)
equals
in class ComponentLocation
public String toString()
toString
in class ComponentLocation
public ComponentLocation parse(String encoded)
ComponentLocation
parse
in class ComponentLocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |