public class ImagePathEditor extends ConfiguratorEditorSupport
addGlue
bean, BUTTON_MARGIN, canceled, fpmi, LARGE_DIMENSION, MEDIUM_DIMENSION, modelColumn, modelRow, panel, propertyName, SMALL_DIMENSION, tableModel, TINY_DIMENSION
Constructor and Description |
---|
ImagePathEditor() |
Modifier and Type | Method and Description |
---|---|
protected void |
choosePath()
This function shows an interactive image choose, and if an image is chosen, calls setValue() with the path of the
image
|
java.lang.Object |
getValue() |
protected void |
initComponents()
This is where you can add your own components to the "panel" field.
|
static void |
resizePMIImage(java.lang.Object component,
java.awt.image.ImageObserver imageObserver,
java.lang.String path) |
void |
setValue(java.lang.Object o) |
createDynamicOptsButton, init, isBindableEnabled, setBindableEnabled
getBean, getContext, getCustomEditor, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditor
protected void initComponents()
ConfiguratorEditorSupport
initComponents
in class ConfiguratorEditorSupport
public void setValue(java.lang.Object o)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
public java.lang.Object getValue()
getValue
in interface java.beans.PropertyEditor
getValue
in class java.beans.PropertyEditorSupport
protected void choosePath()
public static void resizePMIImage(java.lang.Object component, java.awt.image.ImageObserver imageObserver, java.lang.String path)