|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.kpat.policyTemplates.PolicyTemplate kaos.cougaar.clik.kpat.policyTemplates.MessageProtectionPolicyTemplate
public class MessageProtectionPolicyTemplate
Field Summary |
---|
Fields inherited from class kaos.kpat.policyTemplates.PolicyTemplate |
---|
_instanceId |
Constructor Summary | |
---|---|
MessageProtectionPolicyTemplate()
|
Method Summary | |
---|---|
void |
createPolicy(SubjectMsg optionalSubject)
Update the display component to create a new policy. |
void |
editPolicy(PolicyTemplateResult existingPolicy)
Update the display component to edit an existing policy |
java.lang.String |
getDescription()
Get the description of the PolicyTemplateEditor. |
java.awt.Component |
getDisplayComponent()
Return the component to be displayed to the user |
java.lang.String |
getName()
Get the name of the PolicyTemplateEditor. |
PolicyTemplateResult |
getResult()
Return the resultant policy(s) and optional policy set |
void |
initialize(TunnelClient tunnelClient,
java.util.Hashtable subjectTreeModels,
PolicyTemplateFactory factory)
Initialize the template In most instances, the GUI components should be built at this time |
Methods inherited from class kaos.kpat.policyTemplates.PolicyTemplate |
---|
addTemplateComponentReference, compareTo, getInstanceId, getTemplateState, removeTemplateComponentReference, setTemplateComponentReferences, setTemplateState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageProtectionPolicyTemplate()
Method Detail |
---|
public void initialize(TunnelClient tunnelClient, java.util.Hashtable subjectTreeModels, PolicyTemplateFactory factory)
PolicyTemplate
initialize
in class PolicyTemplate
public java.lang.String getName()
PolicyTemplate
getName
in class PolicyTemplate
public java.lang.String getDescription()
PolicyTemplate
getDescription
in class PolicyTemplate
public PolicyTemplateResult getResult() throws PolicyBuildingNotCompleted
PolicyTemplate
getResult
in class PolicyTemplate
PolicyBuildingNotCompleted
public void createPolicy(SubjectMsg optionalSubject) throws java.lang.Exception
PolicyTemplate
createPolicy
in class PolicyTemplate
optionalSubject
- The subject if the editor
was invoked for it
java.lang.Exception
public void editPolicy(PolicyTemplateResult existingPolicy) throws java.lang.Exception
PolicyTemplate
editPolicy
in class PolicyTemplate
java.lang.Exception
public java.awt.Component getDisplayComponent()
PolicyTemplate
getDisplayComponent
in class PolicyTemplate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |