public class ActionRegistry extends Object implements ActionRegistryIF
Modifier and Type | Field and Description |
---|---|
protected Map |
actionGroups |
protected Map |
fields |
protected Map |
images |
Constructor and Description |
---|
ActionRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addActionGroup(ActionGroupIF actionGroup)
INTERNAL: Adds a principal action group to this registry.
|
void |
addField(FieldInformationIF field)
INTERNAL: Adds a field to the registry of known field information
map.
|
void |
addImage(ImageInformationIF image)
INTERNAL: Adds a image to the registry of known image information
map.
|
ActionGroupIF |
getActionGroup(String groupName)
INTERNAL: Gets the principal action group specified by the action
group name.
|
FieldInformationIF |
getField(String fieldName)
INTERNAL: Gets the field information object belonging to the given
field name.
|
ImageInformationIF |
getImage(String imageName)
INTERNAL: Gets the image information object belonging to the given
image name.
|
boolean |
hasImage(String imageName)
INTERNAL: Checks to see if the receiver has an image information
object registered with the given name.
|
String |
toString() |
protected Map actionGroups
protected Map images
protected Map fields
public void addActionGroup(ActionGroupIF actionGroup)
ActionRegistryIF
addActionGroup
in interface ActionRegistryIF
public ActionGroupIF getActionGroup(String groupName)
ActionRegistryIF
getActionGroup
in interface ActionRegistryIF
public void addImage(ImageInformationIF image)
ActionRegistryIF
addImage
in interface ActionRegistryIF
public ImageInformationIF getImage(String imageName)
ActionRegistryIF
getImage
in interface ActionRegistryIF
public void addField(FieldInformationIF field)
ActionRegistryIF
addField
in interface ActionRegistryIF
public FieldInformationIF getField(String fieldName)
ActionRegistryIF
getField
in interface ActionRegistryIF
public boolean hasImage(String imageName)
ActionRegistryIF
hasImage
in interface ActionRegistryIF