| Constructor and Description |
|---|
AnchorVisitor(java.awt.Point pt)
Constructs the visitor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCorner()
Visitor result.
|
java.util.Optional<Element> |
getElement()
Visitor result.
|
void |
visit(Element elt)
Visit each individual leaf element.
|
void |
visit(Group group)
Once a group is selected, none of its interior elements can be selected, so this terminates the search.
|
public AnchorVisitor(java.awt.Point pt)
pt - Desired pointpublic java.util.Optional<Element> getElement()
public int getCorner()
IActionInterface.NoAnchor if none.public void visit(Element elt)
Visitorpublic void visit(Group group)