Package | Description |
---|---|
client.resources |
Modifier and Type | Field and Description |
---|---|
private ResourceBarElement |
ResourceBarView.ResourceElement._type |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceBarElement,IAction> |
ResourceBarController.elementActions |
private java.util.List<ResourceBarElement> |
ResourceBarView.resourceElementList |
private java.util.Map<ResourceBarElement,ResourceBarView.ResourceElement> |
ResourceBarView.resources |
Modifier and Type | Method and Description |
---|---|
ResourceBarElement |
ResourceBarView.ResourceElement.getElementType() |
static ResourceBarElement |
ResourceBarElement.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceBarElement[] |
ResourceBarElement.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private void |
ResourceBarController.executeElementAction(ResourceBarElement element) |
void |
ResourceBarController.setElementAction(ResourceBarElement element,
IAction action)
Sets the action to be executed when the specified resource bar element is clicked by the user
|
void |
ResourceBarView.setElementAmount(ResourceBarElement element,
int amount) |
void |
IResourceBarView.setElementAmount(ResourceBarElement element,
int amount)
Sets the amount for the specified resource bar element
|
void |
ResourceBarView.setElementEnabled(ResourceBarElement element,
boolean enabled) |
void |
IResourceBarView.setElementEnabled(ResourceBarElement element,
boolean enabled)
Sets the enable/disable state for the specified resource bar element
|
void |
ResourceBarView.ResourceElement.setElementType(ResourceBarElement type) |
Constructor and Description |
---|
ResourceElement(ResourceBarElement type) |
ResourceElement(ResourceBarElement type,
boolean clickable) |
ResourceElement(ResourceBarElement type,
boolean clickable,
boolean enabled,
java.awt.image.BufferedImage elementImage,
int elementCount) |
ResourceElement(ResourceBarElement type,
boolean clickable,
boolean enabled,
int elementCount) |
ResourceElement(ResourceBarElement type,
boolean clickable,
java.awt.image.BufferedImage elementImage) |
ResourceElement(ResourceBarElement type,
boolean clickable,
java.awt.image.BufferedImage elementImage,
int elementCount) |
ResourceElement(ResourceBarElement type,
boolean clickable,
int elementCount) |
ResourceElement(ResourceBarElement type,
int elementCount) |