GearState
public abstract class GearState extends Object
Constructors
Name | Description |
---|---|
public GearState()
|
Methods
attached
public abstract Component attached()
Returns the component in attached state.
ReturnValue
Name | Description |
---|---|
Component
|
getType
public abstract Type getType()
ReturnValue
Name | Description |
---|---|
Type
|
detached
public abstract void detached()
ReturnValue
Name | Description |
---|---|
void
|
ofAttached
public static GearState ofAttached(Component component)
Parameters
Name | Description |
---|---|
Component component
|
ReturnValue
Name | Description |
---|---|
GearState
|
ofDetached
public static GearState ofDetached()
ReturnValue
Name | Description |
---|---|
GearState
|
The attached state of a gear.