Package jaxx.runtime.awt.visitor
Class GetCompopentAtPointVisitor
java.lang.Object
jaxx.runtime.awt.visitor.GetCompopentAtPointVisitor
- All Implemented Interfaces:
ComponentTreeNodeVisitor
public class GetCompopentAtPointVisitor extends java.lang.Object implements ComponentTreeNodeVisitor
A visitor to get the deepest component given a point in a tree.
To obtain the component use the method
get(ComponentTreeNode, Point).- Since:
- 2.5.14
- Author:
- Tony Chemit - chemit@codelutin.com
-
Constructor Summary
Constructors Constructor Description GetCompopentAtPointVisitor(java.awt.Point p) -
Method Summary
Modifier and Type Method Description voidendNode(ComponentTreeNode componentTree)static java.awt.Componentget(ComponentTreeNode node, java.awt.Point p)java.awt.ComponentgetLastComponent()voidstartNode(ComponentTreeNode node)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GetCompopentAtPointVisitor
public GetCompopentAtPointVisitor(java.awt.Point p)
-
-
Method Details
-
get
-
getLastComponent
public java.awt.Component getLastComponent() -
startNode
- Specified by:
startNodein interfaceComponentTreeNodeVisitor
-
endNode
- Specified by:
endNodein interfaceComponentTreeNodeVisitor
-