org.keridwen.modelling.group.editor.editor
Class PropertyEditor

java.lang.Object
  extended by org.keridwen.modelling.group.editor.editor.PropertyEditor
All Implemented Interfaces:
ActionListener, EventListener

public class PropertyEditor
extends Object
implements ActionListener

Editor of Property.

Author:
J.Forest, ARTENUM SARL.

Constructor Summary
PropertyEditor()
          Default constructor.
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 void displaySelectedProperty(com.artenum.frida.interfaces.PropertyInterface prop)
          Update the linked view (GUI) according the selected Property.
 PropertyEditorView getView()
          Return the GUI view.
 void setProperty(com.artenum.frida.interfaces.PropertyInterface prop)
          Set the selected property.
 void updatePropertyModel()
          Update the related Property according the values og the GUI view.
 void updateView()
          Update the view according the current Property as set by the setProperty(PropertyInterface prop) method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditor

public PropertyEditor()
Default constructor.

Method Detail

setProperty

public void setProperty(com.artenum.frida.interfaces.PropertyInterface prop)
Set the selected property.

Parameters:
prop - - selected property.

displaySelectedProperty

public void displaySelectedProperty(com.artenum.frida.interfaces.PropertyInterface prop)
Update the linked view (GUI) according the selected Property. This is equivalent to setProperty(prop) and updateView() sequence.

Parameters:
prop - - property to be displayed.

updateView

public void updateView()
Update the view according the current Property as set by the setProperty(PropertyInterface prop) method.


updatePropertyModel

public void updatePropertyModel()
Update the related Property according the values og the GUI view.


getView

public PropertyEditorView getView()
Return the GUI view.

Returns:
the view of the editor.

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2012-2013 Artenum. All Rights Reserved.