Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
static class: JEditorPane.PlainEditorKit.PlainParagraph [javadoc | source]
java.lang.Object
   javax.swing.text.View
      javax.swing.text.CompositeView
         javax.swing.text.BoxView
            javax.swing.text.FlowView
               javax.swing.text.ParagraphView
                  javax.swing.JEditorPane$PlainEditorKit$PlainParagraph

All Implemented Interfaces:
    TabExpander, SwingConstants

Paragraph for representing plain-text lines that support bidirectional text.
Nested Class Summary:
static class  PlainParagraph.LogicalView  This class can be used to represent a logical view for a flow. It keeps the children updated to reflect the state of the model, gives the logical child views access to the view hierarchy, and calculates a preferred span. It doesn't do any rendering, layout, or model/view translation. 
Fields inherited from javax.swing.text.ParagraphView:
firstLineIndent,  i18nStrategy,  tabChars,  tabDecimalChars
Fields inherited from javax.swing.text.FlowView:
layoutSpan,  layoutPool,  strategy
Fields inherited from javax.swing.text.BoxView:
majorAxis,  majorSpan,  minorSpan,  majorReqValid,  minorReqValid,  majorRequest,  minorRequest,  majorAllocValid,  majorOffsets,  majorSpans,  minorAllocValid,  minorOffsets,  minorSpans,  tempRect
Fields inherited from javax.swing.text.View:
BadBreakWeight,  GoodBreakWeight,  ExcellentBreakWeight,  ForcedBreakWeight,  X_AXIS,  Y_AXIS,  sharedBiasReturn
Constructor:
 PlainParagraph(Element elem) 
Method from javax.swing.JEditorPane$PlainEditorKit$PlainParagraph Summary:
calculateMinorAxisRequirements,   getFlowSpan,   setPropertiesFromAttributes
Methods from javax.swing.text.ParagraphView:
breakView,   calculateMinorAxisRequirements,   changedUpdate,   createRow,   findOffsetToCharactersInString,   flipEastAndWestAtEnds,   getAlignment,   getBreakWeight,   getClosestPositionTo,   getFlowSpan,   getFlowStart,   getLayoutView,   getLayoutViewCount,   getNextNorthSouthVisualPositionFrom,   getPartialSize,   getTabBase,   getTabSet,   nextTabStop,   paint,   setFirstLineIndent,   setJustification,   setLineSpacing,   setPropertiesFromAttributes
Methods from javax.swing.text.FlowView:
calculateMinorAxisRequirements,   changedUpdate,   createRow,   getFlowAxis,   getFlowSpan,   getFlowStart,   getViewIndexAtPosition,   insertUpdate,   layout,   loadChildren,   removeUpdate,   setParent
Methods from javax.swing.text.BoxView:
baselineLayout,   baselineRequirements,   calculateMajorAxisRequirements,   calculateMinorAxisRequirements,   checkRequests,   childAllocation,   flipEastAndWestAtEnds,   forwardUpdate,   getAlignment,   getAxis,   getChildAllocation,   getHeight,   getMaximumSpan,   getMinimumSpan,   getOffset,   getPreferredSpan,   getResizeWeight,   getSpan,   getSpanOnAxis,   getViewAtPoint,   getWidth,   isAfter,   isAllocationValid,   isBefore,   isLayoutValid,   layout,   layoutChanged,   layoutMajorAxis,   layoutMinorAxis,   modelToView,   paint,   paintChild,   preferenceChanged,   replace,   setAxis,   setSize,   setSpanOnAxis,   updateChildSizes,   updateLayoutArray,   viewToModel
Methods from javax.swing.text.CompositeView:
childAllocation,   flipEastAndWestAtEnds,   getBottomInset,   getChildAllocation,   getInsideAllocation,   getLeftInset,   getNextEastWestVisualPositionFrom,   getNextNorthSouthVisualPositionFrom,   getNextVisualPositionFrom,   getRightInset,   getTopInset,   getView,   getViewAtPoint,   getViewAtPosition,   getViewCount,   getViewIndex,   getViewIndexAtPosition,   isAfter,   isBefore,   loadChildren,   modelToView,   modelToView,   replace,   setInsets,   setParagraphInsets,   setParent,   viewToModel
Methods from javax.swing.text.View:
append,   breakView,   changedUpdate,   createFragment,   forwardUpdate,   forwardUpdateToView,   getAlignment,   getAttributes,   getBreakWeight,   getChildAllocation,   getContainer,   getDocument,   getElement,   getEndOffset,   getGraphics,   getMaximumSpan,   getMinimumSpan,   getNextVisualPositionFrom,   getParent,   getPreferredSpan,   getResizeWeight,   getStartOffset,   getToolTipText,   getView,   getViewCount,   getViewFactory,   getViewIndex,   getViewIndex,   insert,   insertUpdate,   isVisible,   modelToView,   modelToView,   modelToView,   paint,   preferenceChanged,   remove,   removeAll,   removeUpdate,   replace,   setParent,   setSize,   updateChildren,   updateLayout,   viewToModel,   viewToModel
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JEditorPane$PlainEditorKit$PlainParagraph Detail:
 protected SizeRequirements calculateMinorAxisRequirements(int axis,
    SizeRequirements r) 
 public int getFlowSpan(int index) 
    Fetch the constraining span to flow against for the given child index.
 protected  void setPropertiesFromAttributes()