|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.kpat.policyTemplates.PolicyTemplate
kaos.aci.flexfeed.policyTemplates.VideoFeedTemplate
public class VideoFeedTemplate
Field Summary | |
---|---|
static java.lang.String |
DELAY_PREFIX
|
static java.lang.String |
FRAME_RATE_PREFIX
|
static java.lang.String |
RESOLUTION_PREFIX
|
Fields inherited from class kaos.kpat.policyTemplates.PolicyTemplate |
---|
_instanceId |
Constructor Summary | |
---|---|
VideoFeedTemplate()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
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 |
java.lang.String |
getTemplateCreator()
Get the creator of the PolicyTemplateEditor. |
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, getInstanceId, getTemplateState, removeTemplateComponentReference, setTemplateComponentReferences, setTemplateState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOLUTION_PREFIX
public static final java.lang.String FRAME_RATE_PREFIX
public static final java.lang.String DELAY_PREFIX
Constructor Detail |
---|
public VideoFeedTemplate()
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 KAoSPolicyBuilder.PolicyBuildingNotCompleted
PolicyTemplate
getResult
in class PolicyTemplate
KAoSPolicyBuilder.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
existingPolicy
- Contains information about the existing
policy(s) (and optionally policy set)
java.lang.Exception
public java.awt.Component getDisplayComponent()
PolicyTemplate
getDisplayComponent
in class PolicyTemplate
public java.lang.String getTemplateCreator()
PolicyTemplate
getTemplateCreator
in class PolicyTemplate
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
compareTo
in class PolicyTemplate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |