|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectzeus.generator.agent.TaskAttributeListener
Handle all events arising from the TaskAttributePanel, pricipally selecting a different task or fact row.
| Field Summary | |
private AttributeModel |
attModel
|
private javax.swing.JTable |
attTable
|
private java.lang.String |
currentTask
|
private FactModel |
factModel
|
private javax.swing.JTable |
factTable
|
private GeneratorModel |
genModel
|
private java.util.List |
restrictions
|
private TaskModel |
taskModel
|
private javax.swing.JTable |
taskTable
|
| Constructor Summary | |
TaskAttributeListener(javax.swing.JTable taskTable,
TaskModel taskModel,
javax.swing.JTable factTable,
FactModel factModel,
javax.swing.JTable attTable,
AttributeModel attModel,
GeneratorModel genModel,
AgentDescription agent)
|
|
| Method Summary | |
private void |
factSelected()
Fired when a fact row is selected. |
java.util.List |
getRestrictions()
Retrieve the list of restrictions. |
private void |
loadAttributeRestrictions()
Restore and restrictions that are associated with the current attribute table. |
private void |
saveAttributeRestrictions()
Save any attribute restrictions in the current attribute table. |
private void |
taskSelected()
Fired when a task row is selected. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Event handling interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private javax.swing.JTable taskTable
private javax.swing.JTable factTable
private javax.swing.JTable attTable
private TaskModel taskModel
private FactModel factModel
private AttributeModel attModel
private GeneratorModel genModel
private java.util.List restrictions
private java.lang.String currentTask
| Constructor Detail |
public TaskAttributeListener(javax.swing.JTable taskTable,
TaskModel taskModel,
javax.swing.JTable factTable,
FactModel factModel,
javax.swing.JTable attTable,
AttributeModel attModel,
GeneratorModel genModel,
AgentDescription agent)
| Method Detail |
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListenerprivate void taskSelected()
private void factSelected()
private void saveAttributeRestrictions()
private void loadAttributeRestrictions()
public java.util.List getRestrictions()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||