rero.dck.items

Class LabelInput

public class LabelInput extends JPanel implements DItem

Field Summary
protected JTextPanelabel
Constructor Summary
LabelInput(String text, int width)
Method Summary
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidsetEnabled(boolean b)
voidsetParent(DParent parent)
voidsetText(String text)

Field Detail

label

protected JTextPane label

Constructor Detail

LabelInput

public LabelInput(String text, int width)

Method Detail

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)

setText

public void setText(String text)