|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.driver.JToolBarLocation
public final class JToolBarLocation
Understands a visible location on a .
JToolBar
| Constructor Summary | |
|---|---|
JToolBarLocation()
|
|
| Method Summary | |
|---|---|
Point |
dockLocation(JToolBar toolBar,
Container dock,
String constraint)
Returns the location where to dock the given , at the given constraint position. |
Point |
pointToGrab(JToolBar toolBar)
Returns the point where to grab the given . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JToolBarLocation()
| Method Detail |
|---|
@RunsInCurrentThread public Point pointToGrab(JToolBar toolBar)
JToolBar.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
toolBar - the target JToolBar.
JToolBar.
@RunsInCurrentThread
public Point dockLocation(JToolBar toolBar,
Container dock,
String constraint)
JToolBar, at the given constraint position.
The constraint position must be one of the constants NORTH,
EAST, SOUTH, or
WEST.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
toolBar - the target JToolBar.dock - the container where to dock the JToolBar to.constraint - the constraint position.
JToolBar.
IllegalArgumentException - if the constraint has an invalid value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||