syn3d.ui
Class PropertiesTransformDataUI

java.lang.Object
  extended by syn3d.ui.SceneGraphDataUI
      extended by syn3d.ui.TransformDataUI
          extended by syn3d.ui.PropertiesTransformDataUI
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.util.EventListener

public class PropertiesTransformDataUI
extends TransformDataUI
implements java.awt.event.ItemListener, java.awt.event.ActionListener

This UI allows the user to set a variable number of properties about a node. THe trasform property is the default property

Author:
ogor

Nested Class Summary
protected  class PropertiesTransformDataUI.ColorMapperPanel
           
 
Field Summary
protected  javax.swing.JComboBox colorCombo
           
protected  PropertyData colorDataCopy
           
static int COLORMAPER
           
protected  PropertiesTransformGroupNode.ColorMapperManager colorMapperManager
           
protected  PropertiesTransformDataUI.ColorMapperPanel colorMapperPanel
           
protected  javax.swing.JPanel colorPanel
           
protected  javax.swing.JTable colorTablePanel
           
protected  int colorTransformType
           
protected  javax.swing.JCheckBox[] propertiesCheckBox
           
protected  javax.swing.JTable[] propertiesTable
           
protected  PropertyData[] propertyData
           
protected  PropertyData[] propertyDataCopy
           
static MenuResourceBundle propertyDataResources
           
static int RGBCANALS
           
 
Fields inherited from class syn3d.ui.TransformDataUI
bAdd, bRemove, composedTransformPanel, transformCombos, transformTables, transformTablesPanels
 
Fields inherited from class syn3d.ui.SceneGraphDataUI
bapply, bclose, bedit, bok, data, dataCopy, dialog, dstree, nameField, node, resources, tf, transformAvailable
 
Constructor Summary
PropertiesTransformDataUI(ActiveNode node, TransformData td, PropertyData[] pd, boolean transformAvailable, PropertiesTransformGroupNode.ColorMapperManager cmm)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  javax.swing.JPanel createDataPanel()
           
protected  javax.swing.JTable createPropertyCheckBoxTableDataPanel(PropertyData propertyData, PropertyData propertyDataCopy)
           
protected  javax.swing.JTable createPropertyTableDataPanel(PropertyData propertyData, PropertyData propertyDataCopy)
           
 void dispose()
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void setPropertyEditable(int index, boolean b)
           
 void synchronizeDataPanel()
           
 void updateAllData()
           
 void updateEditable()
           
 void updateEditable(int index)
           
 
Methods inherited from class syn3d.ui.TransformDataUI
createTableDataPanel, createTransformDataPanel, setEditable
 
Methods inherited from class syn3d.ui.SceneGraphDataUI
createButtonPanel, createDialog, createNamePanel, createSourcePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyData

protected PropertyData[] propertyData

propertyDataCopy

protected PropertyData[] propertyDataCopy

propertiesTable

protected javax.swing.JTable[] propertiesTable

propertiesCheckBox

protected javax.swing.JCheckBox[] propertiesCheckBox

colorCombo

protected javax.swing.JComboBox colorCombo

colorPanel

protected javax.swing.JPanel colorPanel

colorMapperPanel

protected PropertiesTransformDataUI.ColorMapperPanel colorMapperPanel

colorMapperManager

protected PropertiesTransformGroupNode.ColorMapperManager colorMapperManager

colorTransformType

protected int colorTransformType

colorTablePanel

protected javax.swing.JTable colorTablePanel

colorDataCopy

protected PropertyData colorDataCopy

RGBCANALS

public static final int RGBCANALS
See Also:
Constant Field Values

COLORMAPER

public static final int COLORMAPER
See Also:
Constant Field Values

propertyDataResources

public static MenuResourceBundle propertyDataResources
Constructor Detail

PropertiesTransformDataUI

public PropertiesTransformDataUI(ActiveNode node,
                                 TransformData td,
                                 PropertyData[] pd,
                                 boolean transformAvailable,
                                 PropertiesTransformGroupNode.ColorMapperManager cmm)
Method Detail

createDataPanel

protected javax.swing.JPanel createDataPanel()
Overrides:
createDataPanel in class TransformDataUI

createPropertyTableDataPanel

protected javax.swing.JTable createPropertyTableDataPanel(PropertyData propertyData,
                                                          PropertyData propertyDataCopy)

createPropertyCheckBoxTableDataPanel

protected javax.swing.JTable createPropertyCheckBoxTableDataPanel(PropertyData propertyData,
                                                                  PropertyData propertyDataCopy)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class TransformDataUI

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Overrides:
itemStateChanged in class TransformDataUI

updateEditable

public void updateEditable()
Overrides:
updateEditable in class TransformDataUI

updateEditable

public void updateEditable(int index)

setPropertyEditable

public void setPropertyEditable(int index,
                                boolean b)

updateAllData

public void updateAllData()
Overrides:
updateAllData in class SceneGraphDataUI

dispose

public void dispose()
Overrides:
dispose in class SceneGraphDataUI

synchronizeDataPanel

public void synchronizeDataPanel()
Overrides:
synchronizeDataPanel in class TransformDataUI