|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.coderight.jazz.form.FormField<V> nl.coderight.jazz.form.FormControl<V> nl.coderight.jazz.form.field.scrollable.ScrollableField<V>
public abstract class ScrollableField<V>
Base class for scrollable fields.
JScrollPane
Nested Class Summary | |
---|---|
static class |
ScrollableField.ScrollBarCorner
Enumeration of possible scroll bar corners. |
static class |
ScrollableField.ScrollBarPolicy
Enumeration of possible scroll bar policies. |
Field Summary |
---|
Fields inherited from class nl.coderight.jazz.form.FormField |
---|
Config |
Constructor Summary | |
---|---|
ScrollableField()
|
Method Summary | |
---|---|
JComponent |
getComponent()
|
JComponent |
getFocusComponent()
|
Dimension |
getPreferredSize()
Returns field preferred size. |
protected Dimension |
getViewportSize()
|
boolean |
isOpaque()
Returns whether field is opaque. |
boolean |
isScrollable()
|
protected void |
onViewportChanged()
|
void |
setBackground(Color color)
Sets field background color. |
void |
setBackgroundImage(Image image)
|
void |
setBorder(Border border)
Sets field border. |
protected void |
setColumnHeader(JComponent component)
|
protected void |
setComponent(JComponent component)
|
protected void |
setCorner(ScrollableField.ScrollBarCorner corner,
JComponent component)
|
void |
setEnabled(boolean enabled)
Sets whether or not this control is enabled. |
void |
setForeground(Color color)
Sets field foreground color. |
void |
setOpaque(boolean opaque)
Sets whether field is opaque. |
void |
setPreferredSize(Dimension size)
Sets field preferred size. |
protected void |
setRowHeader(JComponent component)
|
void |
setScrollable(boolean scrollable)
|
void |
setScrollBarPolicy(ScrollableField.ScrollBarPolicy policy)
|
void |
setTitle(String title)
|
Methods inherited from class nl.coderight.jazz.form.FormControl |
---|
addField, addField, focus, focusField, focusNextField, focusPreviousField, getBindID, getFields, hasFocus, registerKeyboardAction, setComponent, setLayout |
Methods inherited from class nl.coderight.jazz.form.FormField |
---|
dispatchEvent, dispose, focusNextField, focusPreviousField, getBackground, getBorder, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getToolTip, getValue, isBindable, isChanged, isEnabled, isFocusable, isReadonly, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, setBindID, setChanged, setCursor, setDataBinding, setFocusable, setOnFocusGainedEvent, setOnFocusLostEvent, setPopupMenu, setReadonly, setToolTip, setValue, setVisible, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScrollableField()
Method Detail |
---|
protected void onViewportChanged()
protected void setComponent(JComponent component)
setComponent
in class FormField<V>
public void setScrollable(boolean scrollable)
public boolean isScrollable()
protected void setRowHeader(JComponent component)
protected void setColumnHeader(JComponent component)
protected void setCorner(ScrollableField.ScrollBarCorner corner, JComponent component)
public void setScrollBarPolicy(ScrollableField.ScrollBarPolicy policy)
public void setTitle(String title)
setTitle
in class FormControl<V>
public void setBorder(Border border)
FormField
setBorder
in class FormField<V>
public void setBackgroundImage(Image image)
public Dimension getPreferredSize()
FormField
getPreferredSize
in class FormField<V>
public void setPreferredSize(Dimension size)
FormField
setPreferredSize
in class FormField<V>
protected Dimension getViewportSize()
public void setEnabled(boolean enabled)
FormControl
setEnabled
in class FormControl<V>
public boolean isOpaque()
FormField
isOpaque
in class FormField<V>
public void setOpaque(boolean opaque)
FormField
setOpaque
in class FormField<V>
public void setBackground(Color color)
FormField
setBackground
in class FormField<V>
public void setForeground(Color color)
FormField
setForeground
in class FormField<V>
public JComponent getComponent()
getComponent
in class FormField<V>
public JComponent getFocusComponent()
getFocusComponent
in class FormControl<V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |