com.notuvy.gui
Class FormField
java.lang.Object
com.notuvy.gui.FormField
- Direct Known Subclasses:
- FormField.Area, FormField.CheckBox, FormField.Choice, FormField.Field, FormField.Generic, FormField.Html, FormField.List
public abstract class FormField
- extends Object
Represent a single field (label + component) in a form. It contains
the information on how to render the component in a GridBag.
- Author:
- murali
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.log4j.Logger LOG
FormField
public FormField(String pString,
Font pFont,
JComponent pComponent,
double pVWeight,
int pGridHeight,
int pFill)
getLabel
public JLabel getLabel()
getComponent
public JComponent getComponent()
getVWeight
public double getVWeight()
getGridHeight
public int getGridHeight()
getFill
public int getFill()
getHelpText
public String getHelpText()
isSeparatorAfter
protected boolean isSeparatorAfter()
setHelpText
protected void setHelpText(String pHelpText)
setSeparatorAfter
protected void setSeparatorAfter(boolean pSeparatorAfter)
addComponent
protected void addComponent(JPanel pPanel,
GridBagConstraints gbc)
addTo
public void addTo(JPanel pPanel,
GridBagConstraints gbc)
setValue
protected abstract void setValue(Object pObject)
getValue
protected abstract Object getValue()
Copyright © 2013. All Rights Reserved.