Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
class: RootView [javadoc | source]
java.lang.Object
   javax.swing.text.View
      javax.swing.text.RootView

All Implemented Interfaces:
    SwingConstants

Field Summary
 RootViewContext rootViewContext    Parent of the view hierarchy. If model changes, only child of root view is replaced. 
Fields inherited from javax.swing.text.View:
BadBreakWeight,  GoodBreakWeight,  ExcellentBreakWeight,  ForcedBreakWeight,  X_AXIS,  Y_AXIS,  sharedBiasReturn
Constructor:
 RootView(Element e) 
Method from javax.swing.text.RootView Summary:
changedUpdate,   getAttributes,   getChildAllocation,   getComponent,   getContainer,   getDocument,   getElement,   getEndOffset,   getMaximumSpan,   getMinimumSpan,   getNextVisualPositionFrom,   getParent,   getPreferredSpan,   getResizeWeight,   getStartOffset,   getToolTipText,   getView,   getViewCount,   getViewFactory,   insertUpdate,   modelToView,   modelToView,   paint,   preferenceChanged,   removeUpdate,   replace,   setSize,   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.text.RootView Detail:
 public  void changedUpdate(DocumentEvent changes,
    Shape a,
    ViewFactory f) 
 public AttributeSet getAttributes() 
 public Shape getChildAllocation(int i,
    Shape shape) 
 Component getComponent() 
 public Container getContainer() 
 public Document getDocument() 
 public Element getElement() 
 public int getEndOffset() 
 public float getMaximumSpan(int axis) 
 public float getMinimumSpan(int axis) 
 public int getNextVisualPositionFrom(int p,
    Bias b,
    Shape shape,
    int direction,
    Bias[] biasRet) throws BadLocationException 
 public View getParent() 
 public float getPreferredSpan(int axis) 
 public int getResizeWeight(int i) 
 public int getStartOffset() 
 public String getToolTipText(float x,
    float y,
    Shape shape) 
 public View getView(int index) 
 public int getViewCount() 
 public ViewFactory getViewFactory() 
 public  void insertUpdate(DocumentEvent changes,
    Shape a,
    ViewFactory f) 
 public Shape modelToView(int p,
    Shape shape,
    Bias b) throws BadLocationException 
 public Shape modelToView(int p0,
    Bias b0,
    int p1,
    Bias b1,
    Shape shape) throws BadLocationException 
 public  void paint(Graphics g,
    Shape a) 
 public  void preferenceChanged(View view,
    boolean b1,
    boolean b2) 
 public  void removeUpdate(DocumentEvent changes,
    Shape a,
    ViewFactory f) 
 public  void replace(int i1,
    int i2,
    View[] views) 
 public  void setSize(float width,
    float height) 
 public int viewToModel(float fx,
    float fy,
    Shape a,
    Bias[] bias)