|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.MouseAdapter org.keridwen.modelling.group.editor.action.SelectionTreeListener
public class SelectionTreeListener
Control listener for the main selection tree of Properties and Characteristics.
Constructor Summary | |
---|---|
SelectionTreeListener(GroupsTreeEditorView groupsTreeEditorGUI,
com.artenum.frida.group.OrderedGroupList groupList)
Default constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent evt)
|
void |
addGivenPropertyToSelectedNode(com.artenum.frida.interfaces.PropertyInterface property)
Add the given Property to the Group selected in the tree. |
void |
addPropertyFromCatalogToSelectedGroupNode()
Add properties from catalog, through a property chooser. |
void |
addSubPropertyFromCatalogToSelectedPropertyNode()
Add a sub property to the select property. |
HashMap<String,com.artenum.frida.properties.PropertiesList> |
getPropertiesCatalog()
Get the loaded properties catalog. |
void |
initDefaultPopUpMenus()
Initialize the default pop-up menus for the current tree. |
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
resetGroup()
Remove all properties of the given node. |
void |
setPropertiesCatalog(HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
Set the properties catalog. |
void |
setRootPopUpMenu(RegistrablePopUpMenu rootPopUpMenu)
Set the root node pop-up menu. |
void |
updateUI()
|
void |
valueChanged(TreeSelectionEvent evt)
Listener for the tree selection change (by keyboard). |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionTreeListener(GroupsTreeEditorView groupsTreeEditorGUI, com.artenum.frida.group.OrderedGroupList groupList)
listEditor
- Method Detail |
---|
public void setRootPopUpMenu(RegistrablePopUpMenu rootPopUpMenu)
rootPopUpMenu
- - popup menu.public void initDefaultPopUpMenus()
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
public void valueChanged(TreeSelectionEvent evt)
valueChanged
in interface TreeSelectionListener
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public void addPropertyFromCatalogToSelectedGroupNode()
public void addSubPropertyFromCatalogToSelectedPropertyNode()
public void addGivenPropertyToSelectedNode(com.artenum.frida.interfaces.PropertyInterface property)
property
- - The added propertypublic void resetGroup()
public HashMap<String,com.artenum.frida.properties.PropertiesList> getPropertiesCatalog()
public void setPropertiesCatalog(HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
propertiesCatalog
- public void updateUI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |