|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabbot.tester.ComponentLocation
abbot.tester.JTabbedPaneLocation
Provides encapsulation of a location on a JTabbedPane (notably a tab). Use the JTabbedPaneLocation#JTabbedPaneLocation(Point) ctor to indicate a specific coordinate.
| Nested Class Summary | |
(package private) class |
JTabbedPaneLocation.TabNotVisibleException
This exception is thrown if a given tab is not currently visible. |
| Constructor Summary | |
JTabbedPaneLocation()
|
|
JTabbedPaneLocation(int index)
|
|
JTabbedPaneLocation(Point p)
|
|
JTabbedPaneLocation(String tabName)
|
|
| Method Summary | |
protected String |
badFormat(String encoded)
|
boolean |
equals(Object o)
|
Rectangle |
getBounds(Component c)
Convert the abstract location into a concrete area. |
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 JTabbedPaneLocation()
public JTabbedPaneLocation(String tabName)
public JTabbedPaneLocation(int index)
public JTabbedPaneLocation(Point p)
| Method Detail |
protected String badFormat(String encoded)
badFormat in class ComponentLocationpublic Point getPoint(Component c)
ComponentLocation
getPoint in class ComponentLocationpublic Rectangle getBounds(Component c)
ComponentLocation
getBounds in class ComponentLocationpublic boolean equals(Object o)
equals in class ComponentLocationpublic String toString()
toString in class ComponentLocationpublic 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 | |||||||||