com.wirefusion.propertyeditor
Class ComponentPropertyEditor

java.lang.Object
  extended by com.wirefusion.propertyeditor.WfPropertyEditor
      extended by com.wirefusion.propertyeditor.ComponentPropertyEditor

public class ComponentPropertyEditor
extends WfPropertyEditor

This editor can be seen as a dummy editor and is only intended for use where you just want to display a component i the property editor. It can for example be used if you want to show a JButton that opens a dialog when you click it.


Field Summary
 
Fields inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
LEFT_POSITION, TOP_POSITION
 
Constructor Summary
ComponentPropertyEditor(java.lang.String label, javax.swing.JComponent component)
          Constructs a ColorPropertyEditor object.
 
Method Summary
 
Methods inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
addPropertyChangeListener, firePropertyChange, getEditor, getInfoString, getPropertyId, isEnabled, removePropertyChangeListener, setEnabled, setLabelPosition, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentPropertyEditor

public ComponentPropertyEditor(java.lang.String label,
                               javax.swing.JComponent component)
Constructs a ColorPropertyEditor object.

Parameters:
label - the label
component - the component