net.sf.doolin.gui.field
Class FieldMemo<V>
java.lang.Object
net.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractFieldText<V,JTextArea>
net.sf.doolin.gui.field.FieldMemo<V>
- Type Parameters:
V - Type of object for the view
- All Implemented Interfaces:
- Serializable, IBean, FieldDescriptor<V>
public class FieldMemo<V>
- extends AbstractFieldText<V,JTextArea>
JTextArea field descriptor.
- See Also:
- Serialized Form
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMemo
public FieldMemo()
createTextComponent
protected JTextArea createTextComponent()
- Specified by:
createTextComponent in class AbstractFieldText<V,JTextArea>
decorateComponent
protected JComponent decorateComponent(JTextArea text)
- Uses the scroll pane for the text area.
- Overrides:
decorateComponent in class AbstractFieldText<V,JTextArea>
- Parameters:
text - Text component
- Returns:
- Actual component
getRows
public int getRows()
- Gets the rows.
- Returns:
- the rows
setRows
public void setRows(int rows)
- Sets the row number.
- Parameters:
rows - the new rows
Copyright © 2011. All Rights Reserved.