Class WappProTextPane.PrintView

java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
hipp.com.wappedidpadpro2.WappProTextPane.PrintView
All Implemented Interfaces:
javax.swing.SwingConstants
Enclosing class:
WappProTextPane

class WappProTextPane.PrintView
extends javax.swing.text.BoxView
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected int m_firstOnPage  
    protected int m_lastOnPage  
    protected int m_pageIndex  

    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

    Constructors 
    Constructor Description
    PrintView​(javax.swing.text.Element elem, javax.swing.text.View root, int w, int h)  
  • Method Summary

    Modifier and Type Method Description
    void firstLine​(int yMin, java.awt.Rectangle rc)  
    boolean paintPage​(java.awt.Graphics g, int hPage, int pageIndex, double pH)  

    Methods inherited from class javax.swing.text.BoxView

    baselineLayout, baselineRequirements, calculateMajorAxisRequirements, calculateMinorAxisRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, layoutMinorAxis, modelToView, paint, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel

    Methods inherited from class javax.swing.text.CompositeView

    getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParent

    Methods inherited from class javax.swing.text.View

    append, breakView, changedUpdate, createFragment, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PrintView

      public PrintView​(javax.swing.text.Element elem, javax.swing.text.View root, int w, int h)
  • Method Details

    • firstLine

      public void firstLine​(int yMin, java.awt.Rectangle rc)
    • paintPage

      public boolean paintPage​(java.awt.Graphics g, int hPage, int pageIndex, double pH)