Documentation of 'org.jhotdraw.samples.teddy.text.NumberedParagraphView' Java class
NumberedParagraphView
org.jhotdraw.samples.teddy.text

Class NumberedParagraphView

  • All Implemented Interfaces:
    javax.swing.SwingConstants, javax.swing.text.TabExpander


    public class NumberedParagraphView
    extends javax.swing.text.ParagraphView
    NumberedParagraphView.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.text.FlowView

        javax.swing.text.FlowView.FlowStrategy
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static short NUMBERS_WIDTH 
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void paintChild(java.awt.Graphics g, java.awt.Rectangle r, int n) 
      • Methods inherited from class javax.swing.text.ParagraphView

        breakView, changedUpdate, getAlignment, getBreakWeight, getFlowSpan, getFlowStart, nextTabStop, paint
      • Methods inherited from class javax.swing.text.FlowView

        getFlowAxis, insertUpdate, removeUpdate, setParent
      • Methods inherited from class javax.swing.text.BoxView

        getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getPreferredSpan, getResizeWeight, getWidth, layoutChanged, modelToView, preferenceChanged, replace, setAxis, setSize, viewToModel
      • Methods inherited from class javax.swing.text.CompositeView

        getNextVisualPositionFrom, getView, getViewCount, getViewIndex, modelToView
      • Methods inherited from class javax.swing.text.View

        append, breakView, createFragment, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, isVisible, modelToView, remove, removeAll, viewToModel
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumberedParagraphView

        public NumberedParagraphView(javax.swing.text.Element e,
                                     NumberedViewFactory viewFactory)
    • Method Detail

      • paintChild

        public void paintChild(java.awt.Graphics g,
                               java.awt.Rectangle r,
                               int n)
        Overrides:
        paintChild in class javax.swing.text.BoxView

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.