public interface FwkInstructionInterface extends FwkPresentationInterface
| Modifier and Type | Method and Description | 
|---|---|
| void | addCommand(FwkCommandInterface command)Add the command to the command array. | 
| void | addCommand(int index,
          FwkCommandInterface command)Insert a command at the specified position. | 
| void | addToGroup(int index,
          java.lang.String groupIdent,
          java.lang.String commandName)Add a command to a group. | 
| void | addToGroup(java.lang.String groupIdent,
          java.lang.String commandName)Add a command to a group. | 
| void | clearCommands()Clear the command array. | 
| boolean | commandsAvailable()This method returns a boolean that indicates whether 
 the command array is initialized. | 
| void | deleteGroup(java.lang.String groupIdent)Delete command group. | 
| FwkCommandInterface | getCommand(java.lang.String commandName)Return the command that matches the given command name. | 
| FwkCommandInterface[] | getCommands()Retrieve the command array of the component. | 
| FwkCommandInterface[] | getGroup(java.lang.String groupIdent)Retrieve the command group. | 
| boolean | groupExists(java.lang.String groupIdent)Check whether a group exists. | 
| void | removeCommand(FwkCommandInterface command)Remove a sub-command. | 
| void | removeFromGroup(java.lang.String groupIdent,
               java.lang.String commandName)Remove a command from a group. | 
| void | setCommands(FwkCommandInterface[] commands)Set the sub-commands of the command. | 
getPresentationString, getPresentationStringgetVersion, releasevoid addCommand(FwkCommandInterface command)
command - The command to be added.void addCommand(int index,
              FwkCommandInterface command)
index - The position where the command has to be inserted.command - The command to be added.FwkCommandInterface getCommand(java.lang.String commandName)
commandName - The name of the requested command.FwkCommandInterface[] getCommands()
void removeCommand(FwkCommandInterface command)
command - The command to be removed.void clearCommands()
void setCommands(FwkCommandInterface[] commands)
commands - An array containing all sub-commands.addCommand(FwkCommandInterface command)boolean commandsAvailable()
void addToGroup(int index,
              java.lang.String groupIdent,
              java.lang.String commandName)
index - Index where the command should be placed.groupIdent - The string identified of the group.commandName - The name of the command.void addToGroup(java.lang.String groupIdent,
              java.lang.String commandName)
groupIdent - The string identified of the group.commandName - The name of the command.void removeFromGroup(java.lang.String groupIdent,
                   java.lang.String commandName)
groupIdent - The string identified of the group.commandName - The name of the command.void deleteGroup(java.lang.String groupIdent)
groupIdent - The string identified of the group.FwkCommandInterface[] getGroup(java.lang.String groupIdent)
groupIdent - The string identified of the group.boolean groupExists(java.lang.String groupIdent)