|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.text.View
javax.swing.text.PlainView
javax.swing.text.FieldView
org.tentackle.plaf.TFieldView
public class TFieldView
Extended FieldView.
| Field Summary |
|---|
| Fields inherited from class javax.swing.text.PlainView |
|---|
metrics |
| Fields inherited from class javax.swing.text.View |
|---|
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
TFieldView(Element elem)
Constructs a new FieldView wrapped on an element. |
|
| Method Summary | |
|---|---|
protected Shape |
adjustAllocation(Shape a)
Adjusts the allocation given to the view to be a suitable allocation for a text field. |
| Methods inherited from class javax.swing.text.FieldView |
|---|
getFontMetrics, getPreferredSpan, getResizeWeight, insertUpdate, modelToView, paint, removeUpdate, viewToModel |
| Methods inherited from class javax.swing.text.PlainView |
|---|
changedUpdate, damageLineRange, drawLine, drawSelectedText, drawUnselectedText, getLineBuffer, getTabSize, lineToRect, nextTabStop, setSize, updateDamage, updateMetrics |
| Methods inherited from class javax.swing.text.View |
|---|
append, breakView, createFragment, forwardUpdate, forwardUpdateToView, getAlignment, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getMaximumSpan, getMinimumSpan, getNextVisualPositionFrom, getParent, getStartOffset, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, replace, setParent, updateChildren, updateLayout, viewToModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TFieldView(Element elem)
elem - the element| Method Detail |
|---|
protected Shape adjustAllocation(Shape a)
Overridden to allow alignment TOP and BOTTOM. This is used in FormTables if the rowsize is larger than one Font-Height.
adjustAllocation in class FieldViewa - the allocation given to the view, which may need
to be adjusted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||