rero.dialogs.toolkit

Class APanel

public abstract class APanel extends JPanel

Field Summary
protected GridBagConstraintsconstraints
protected GridBagLayoutlayout
Constructor Summary
APanel()
Method Summary
voidaddComponent(JComponent blah)
abstract ObjectgetValue(Object value)
static JComponentmergeComponents(JLabel label, JComponent c)
static JComponentmergeComponents(JLabel label, JComponent c, int gapint)
voidprocessParent(ADialog parent)
called whenever this panel is added to a dialog, so the parent dialog can be processed by this panel
abstract voidsetupDialog(Object value)

Field Detail

constraints

protected GridBagConstraints constraints

layout

protected GridBagLayout layout

Constructor Detail

APanel

public APanel()

Method Detail

addComponent

public void addComponent(JComponent blah)

getValue

public abstract Object getValue(Object value)

mergeComponents

public static JComponent mergeComponents(JLabel label, JComponent c)

mergeComponents

public static JComponent mergeComponents(JLabel label, JComponent c, int gapint)

processParent

public void processParent(ADialog parent)
called whenever this panel is added to a dialog, so the parent dialog can be processed by this panel

setupDialog

public abstract void setupDialog(Object value)