public interface WidgetGroup extends Validatable, java.lang.Comparable<WidgetGroup>
Modifier and Type | Method and Description |
---|---|
WidgetChild |
find(java.util.function.Predicate<WidgetChild> filter)
Finds a matching child in the group.
|
java.util.List<WidgetChild> |
findAll(java.util.function.Predicate<WidgetChild> filter)
Finds a matching child in the group.
|
WidgetChild |
getChild(int index)
Gets a child at the given index.
|
java.util.List<WidgetChild> |
getChildren()
Gets the children.
|
int |
getChildrenCount()
Gets the number of children.
|
int |
getIndex()
Gets the index of the group.
|
java.awt.Point |
getLocation()
Gets the screen location of the group.
|
boolean |
isVisible()
Gets whether or not this group is visible by checking if any of the children are visible.
|
isValid
int getIndex()
boolean isVisible()
int getChildrenCount()
java.awt.Point getLocation()
Point
WidgetChild getChild(int index)
index
- the indexWidgetChild
WidgetChild find(java.util.function.Predicate<WidgetChild> filter)
filter
- the matching filterWidgetChild
or nulljava.util.List<WidgetChild> findAll(java.util.function.Predicate<WidgetChild> filter)
filter
- the matching filterWidgetChild
java.util.List<WidgetChild> getChildren()