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>, org.rspeer.commons.typing.SelfTyped<ComponentQuery>
public class ComponentQuery
extends Query<InterfaceComponent, ComponentQuery, ComponentQueryResults>
-
Constructor Summary
ConstructorsConstructorDescriptionComponentQuery(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) Deprecated.hidden()hidden(boolean hidden) materials(int... materials) models(int... modelIds) self()shadows(int... shadows) booleantest(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:
getDefaultProviderin classQuery<InterfaceComponent, ComponentQuery, ComponentQueryResults>
-
groups
-
groups
Deprecated. -
texts
-
tooltips
-
names
-
actions
-
actions
-
actionContains
-
widths
-
materials
-
types
-
contentTypes
-
foregrounds
-
models
-
includeSubComponents
-
visible
-
shadows
-
visible
-
configs
-
test
- Specified by:
testin interfacePredicate<InterfaceComponent>- Overrides:
testin classQuery<InterfaceComponent, ComponentQuery, ComponentQueryResults>
-