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)
ActionRegistryIFaddActionGroup in interface ActionRegistryIFpublic ActionGroupIF getActionGroup(String groupName)
ActionRegistryIFgetActionGroup in interface ActionRegistryIFpublic void addImage(ImageInformationIF image)
ActionRegistryIFaddImage in interface ActionRegistryIFpublic ImageInformationIF getImage(String imageName)
ActionRegistryIFgetImage in interface ActionRegistryIFpublic void addField(FieldInformationIF field)
ActionRegistryIFaddField in interface ActionRegistryIFpublic FieldInformationIF getField(String fieldName)
ActionRegistryIFgetField in interface ActionRegistryIFpublic boolean hasImage(String imageName)
ActionRegistryIFhasImage in interface ActionRegistryIF