rero.dck.items

Class ImagePreview

public class ImagePreview extends JPanel implements DItem

Nested Class Summary
protected classImagePreview.ImageConfigPreview
Field Summary
protected JLabelevil
protected intheight
protected LinkedListlisteners
protected ImagePreview.ImageConfigPreviewpreview
protected intwidth
Constructor Summary
ImagePreview(int _width, int _height)
Method Summary
voidaddActionListener(ActionListener l)
protected voidfireEvent(String command)
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidsetEnabled(boolean b)
voidsetParent(DParent parent)
voidsetParentVariable(String parent)

Field Detail

evil

protected JLabel evil

height

protected int height

listeners

protected LinkedList listeners

preview

protected ImagePreview.ImageConfigPreview preview

width

protected int width

Constructor Detail

ImagePreview

public ImagePreview(int _width, int _height)

Method Detail

addActionListener

public void addActionListener(ActionListener l)

fireEvent

protected void fireEvent(String command)

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)

setEnabled

public void setEnabled(boolean b)

setParent

public void setParent(DParent parent)

setParentVariable

public void setParentVariable(String parent)