net.sourceforge.demetrix.ui
Class PropertiesPanel

java.lang.Object
  extended bynet.sourceforge.demetrix.ui.PropertiesPanel
Direct Known Subclasses:
JavaBeanBasedPropertiesPanel, NodePropertiesPanel

public class PropertiesPanel
extends Object

Author:
Dimitri Pissarenko *

Field Summary
 JButton applyButton
           
 Action applyButtonAction
           
private  Logger logger
           
 JButton newPropertyButton
           
 Action newPropertyButtonAction
           
 JLabel nodeLabel
           
private  JPanel panel
           
private  DemetrixPropertiesHolder propertiesHolder
           
private  DemetrixPropertyRenderer propertyRenderer
           
 XVBox propertyRowsPanel
           
private  Hashtable representationsByPropertyNames
           
private  String UI_DEF_FILE_NAME
           
 
Constructor Summary
PropertiesPanel()
           
 
Method Summary
private  void addNewProperty()
           
protected  void applyButtonAction()
           
 String getInvalidPropertyName()
           
 JPanel getPanel()
           
 DemetrixPropertiesHolder getPropertiesHolder()
           
protected  Hashtable getRepresentationsByPropertyNames()
           
 void setPropertiesHolder(DemetrixPropertiesHolder holder)
           
 boolean updateDataObject()
           
protected  void updatePropertiesPanel()
           
private  void updatePropertyData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applyButtonAction

public Action applyButtonAction

logger

private Logger logger

newPropertyButton

public JButton newPropertyButton

newPropertyButtonAction

public Action newPropertyButtonAction

applyButton

public JButton applyButton

nodeLabel

public JLabel nodeLabel

panel

private JPanel panel

propertiesHolder

private DemetrixPropertiesHolder propertiesHolder

propertyRenderer

private DemetrixPropertyRenderer propertyRenderer

propertyRowsPanel

public XVBox propertyRowsPanel

representationsByPropertyNames

private Hashtable representationsByPropertyNames

UI_DEF_FILE_NAME

private final String UI_DEF_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

PropertiesPanel

public PropertiesPanel()
Method Detail

addNewProperty

private void addNewProperty()

getPanel

public JPanel getPanel()

updatePropertiesPanel

protected void updatePropertiesPanel()

updatePropertyData

private void updatePropertyData()

getInvalidPropertyName

public String getInvalidPropertyName()

updateDataObject

public boolean updateDataObject()

applyButtonAction

protected void applyButtonAction()

getPropertiesHolder

public DemetrixPropertiesHolder getPropertiesHolder()
Returns:

setPropertiesHolder

public void setPropertiesHolder(DemetrixPropertiesHolder holder)
Parameters:
holder -

getRepresentationsByPropertyNames

protected Hashtable getRepresentationsByPropertyNames()
Returns: