Package org.rspeer.game.query.component
Class ComponentQuery
java.lang.Object
org.rspeer.game.query.Query<InterfaceComponent,ComponentQuery,ComponentQueryResults>
org.rspeer.game.query.component.ComponentQuery
- All Implemented Interfaces:
Cloneable
,Predicate<InterfaceComponent>
,SelfTyped<ComponentQuery>
-
Constructor Summary
ConstructorDescriptionComponentQuery
(boolean includeSubComponents) ComponentQuery
(Supplier<List<InterfaceComponent>> provider) -
Method Summary
Modifier and TypeMethodDescriptionactionContains
(String... actions) configs
(int... configs) contentTypes
(int... contentTypes) foregrounds
(int... foregrounds) groups
(int... groups) groups
(InterfaceComposite... groups) hidden()
hidden
(boolean hidden) materials
(int... materials) models
(int... modelIds) self()
shadows
(int... shadows) boolean
test
(InterfaceComponent cmp) types
(InterfaceComponent.Type... types) visible()
visible
(boolean visible) widths
(int... widths)
-
Constructor Details
-
ComponentQuery
-
ComponentQuery
public ComponentQuery(boolean includeSubComponents) -
ComponentQuery
public ComponentQuery()
-
-
Method Details
-
self
-
getDefaultProvider
- Specified by:
getDefaultProvider
in classQuery<InterfaceComponent,
ComponentQuery, ComponentQueryResults>
-
groups
-
groups
-
texts
-
tooltips
-
names
-
actions
-
actions
-
actionContains
-
widths
-
materials
-
types
-
contentTypes
-
foregrounds
-
models
-
includeSubComponents
-
visible
-
shadows
-
visible
-
configs
-
test
- Specified by:
test
in interfacePredicate<InterfaceComponent>
- Overrides:
test
in classQuery<InterfaceComponent,
ComponentQuery, ComponentQueryResults>
-