|
|||||||||
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.CompositeView
javax.swing.text.BoxView
javax.swing.text.html.BlockView
sferyx.administration.renderers.CustomLayoutBoxView
sferyx.administration.renderers.CustomBlockView
sferyx.administration.renderers.CustomFormView
public class CustomFormView
Paints the form in order to be visible inside the editor as a dashed line.
Field Summary |
---|
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 | |
---|---|
CustomFormView(javax.swing.text.Element elem,
int axis)
Creates new form view for the given element. |
Method Summary | |
---|---|
int |
getOffset(int axis,
int childIndex)
|
void |
paint(java.awt.Graphics g,
java.awt.Shape allocation)
Paints the form as a dashed line inside the editor. |
Methods inherited from class sferyx.administration.renderers.CustomBlockView |
---|
changedUpdate, containsOnlyFloats, getMaximumSpan_, getMaximumSpan, getMinimumSpan_, getMinimumSpan, getPreferredSpan_, getPreferredSpan, getTotalSpanV_, getTotalSpanV, insertUpdate, isVisible, layout, loadChildren, removeUpdate, updateLayout |
Methods inherited from class javax.swing.text.BoxView |
---|
baselineLayout, baselineRequirements, flipEastAndWestAtEnds, getAxis, getHeight, isAfter, isAllocationValid, isBefore, isLayoutValid, paintChild, preferenceChanged, replace, setAxis |
Methods inherited from class javax.swing.text.CompositeView |
---|
getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, modelToView, setParagraphInsets |
Methods inherited from class javax.swing.text.View |
---|
append, breakView, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, modelToView, remove, removeAll, updateChildren, viewToModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomFormView(javax.swing.text.Element elem, int axis)
Method Detail |
---|
public void paint(java.awt.Graphics g, java.awt.Shape allocation)
paint
in class CustomBlockView
public int getOffset(int axis, int childIndex)
getOffset
in class CustomLayoutBoxView
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |