|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.aladin.ComponentLocator
public class ComponentLocator
Title : ComponentLocation
Description : finds absolute screen coordinates of a component on the basis of its name
Constructor Summary | |
---|---|
ComponentLocator()
Constructor |
Method Summary | |
---|---|
java.awt.Point |
getLocation(java.awt.Component comp)
Return absolute coordinates of a given component |
java.awt.Point |
getLocation(java.awt.Component comp,
java.awt.Component stop)
|
java.awt.Point |
getLocation(java.lang.String widgetName,
WidgetFinder comp)
Return absolute coordinates of a home-made widget, given its name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentLocator()
Method Detail |
---|
public java.awt.Point getLocation(java.awt.Component comp)
comp
- component whose location is searched
public java.awt.Point getLocation(java.awt.Component comp, java.awt.Component stop)
public java.awt.Point getLocation(java.lang.String widgetName, WidgetFinder comp)
widgetName
- name of the widget whose location is searchedcomp
- WidgetFinder where stands widgetName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |