|
|||||||||
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.FoldingView
public class FoldingView
Support for text folding functionalities.
Field Summary | |
---|---|
int |
foldingSignHeight
|
int |
foldingSignWidth
|
int |
foldingSignX
|
int |
foldingSignY
|
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 | |
---|---|
FoldingView(javax.swing.text.Element elem,
int axis)
Creates a new instance of FoldingView |
Method Summary | |
---|---|
short |
getLeftInset()
|
float |
getMaximumSpan(int axis)
|
float |
getMinimumSpan(int axis)
|
float |
getPreferredSpan(int axis)
|
boolean |
isExpanded()
|
void |
paint(java.awt.Graphics g,
java.awt.Shape allocation)
|
void |
setExpanded(boolean expanded)
|
Methods inherited from class sferyx.administration.renderers.CustomBlockView |
---|
changedUpdate, containsOnlyFloats, getMaximumSpan_, getMinimumSpan_, 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 |
Field Detail |
---|
public int foldingSignX
public int foldingSignY
public int foldingSignWidth
public int foldingSignHeight
Constructor Detail |
---|
public FoldingView(javax.swing.text.Element elem, int axis)
Method Detail |
---|
public float getMaximumSpan(int axis)
getMaximumSpan
in class CustomBlockView
public float getPreferredSpan(int axis)
getPreferredSpan
in class CustomBlockView
public float getMinimumSpan(int axis)
getMinimumSpan
in class CustomBlockView
public short getLeftInset()
getLeftInset
in class CustomLayoutBoxView
public void setExpanded(boolean expanded)
public boolean isExpanded()
public void paint(java.awt.Graphics g, java.awt.Shape allocation)
paint
in class CustomBlockView
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |