public class SmallImageChooser extends java.lang.Object implements ModifiedInformer
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JFileChooser |
dialog |
protected MustButton |
fileChooseButton |
Constructor and Description |
---|
SmallImageChooser(FrontendResources frontendResources,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
addTo(AttributeList attributeList) |
void |
addTo(AttributeList attributeList,
java.lang.String label) |
protected byte[] |
getBytes() |
protected java.io.InputStream |
getInputStream() |
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
void |
set(byte[] bytes) |
void |
set(java.io.InputStream inputStream) |
void |
setImageBytes(byte[] bytes) |
void |
setToolTipText(java.lang.String toolTipText) |
protected MustButton fileChooseButton
protected javax.swing.JFileChooser dialog
public SmallImageChooser(FrontendResources frontendResources, int width, int height)
public void addTo(AttributeList attributeList, java.lang.String label)
public void addTo(AttributeList attributeList)
public void setToolTipText(java.lang.String toolTipText)
public void set(byte[] bytes)
public void set(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
protected java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public void setImageBytes(byte[] bytes)
protected byte[] getBytes()
public boolean isModified()
ModifiedInformer
isModified
in interface ModifiedInformer
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de