Groovy Documentation

griffon.swing.editors
[Java] Class IconPropertyEditor

java.lang.Object
  java.beans.PropertyEditorSupport
      griffon.core.resources.editors.AbstractPropertyEditor
          griffon.swing.editors.IconPropertyEditor

public class IconPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray
Since:
1.1.0


Constructor Summary
IconPropertyEditor()

 
Method Summary
private void handleAsByteArray(byte[] bytes)

private void handleAsFile(File file)

private void handleAsImage(Image img)

private void handleAsImageInputStream(ImageInputStream stream)

private void handleAsInputStream(InputStream stream)

private void handleAsString(String str)

private void handleAsURI(URI uri)

private void handleAsURL(URL url)

void setAsText(String value)

void setValue(Object value)

 
Methods inherited from class AbstractPropertyEditor
getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getTags, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class PropertyEditorSupport
getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getTags, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

IconPropertyEditor

IconPropertyEditor()


 
Method Detail

handleAsByteArray

private void handleAsByteArray(byte[] bytes)


handleAsFile

private void handleAsFile(File file)


handleAsImage

private void handleAsImage(Image img)


handleAsImageInputStream

private void handleAsImageInputStream(ImageInputStream stream)


handleAsInputStream

private void handleAsInputStream(InputStream stream)


handleAsString

private void handleAsString(String str)


handleAsURI

private void handleAsURI(URI uri)


handleAsURL

private void handleAsURL(URL url)


setAsText

public void setAsText(String value)


setValue

public void setValue(Object value)


 

Groovy Documentation