|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.group.editor.editor.CharacteristicEditor<T>
T
- public class CharacteristicEditor<T>
Generic and graphical Characteristic editor.
Field Summary | |
---|---|
static String |
ON_CELL
|
static String |
ON_CURVI
|
static String |
ON_EDGE
|
static String |
ON_FACE
|
static String |
ON_NODE
|
static String |
SERIE_OF_DOUBLE
|
static String |
UNDEFINED
|
Constructor Summary | |
---|---|
CharacteristicEditor()
Default constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent evt)
|
void |
displaySelectedCharacteristicView(com.artenum.frida.characteristic.AbstractCharacteristic<T> charac)
Update the view and display the selected characteristic in the right side panel. |
com.artenum.frida.characteristic.AbstractCharacteristic<T> |
getCharacteristic()
|
SelectionTreeListener |
getTreeListener()
Get the Selection tree listener. |
CharacteristicEditorView |
getView()
Return the view of the present editor. |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
setCharacteristic(com.artenum.frida.characteristic.AbstractCharacteristic<T> charac)
Set the Characteristic model. |
void |
setTreeListener(SelectionTreeListener treeListener)
Set the tree listener. |
void |
updateSelectedCharacteristicModel()
Update the model for the selected Characteristic according the selected one in the view. |
void |
updateView()
Update the view according the current characteristic. |
void |
valueChanged(ListSelectionEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ON_NODE
public static final String ON_EDGE
public static final String ON_FACE
public static final String ON_CELL
public static final String ON_CURVI
public static final String UNDEFINED
public static final String SERIE_OF_DOUBLE
Constructor Detail |
---|
public CharacteristicEditor()
Method Detail |
---|
public CharacteristicEditorView getView()
public void setCharacteristic(com.artenum.frida.characteristic.AbstractCharacteristic<T> charac)
charac
- public com.artenum.frida.characteristic.AbstractCharacteristic<T> getCharacteristic()
public void displaySelectedCharacteristicView(com.artenum.frida.characteristic.AbstractCharacteristic<T> charac)
charac
- - selected characteristic.public void updateView()
public void updateSelectedCharacteristicModel()
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void setTreeListener(SelectionTreeListener treeListener)
treeListener
- public SelectionTreeListener getTreeListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |