KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > CompositeView

javax.swing.text
Class CompositeView

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.CompositeView
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
BoxView
See Also:
Source Code, childAllocation(int, java.awt.Rectangle), getViewAtPoint(int, int, java.awt.Rectangle), isAfter(int, int, java.awt.Rectangle), isBefore(int, int, java.awt.Rectangle), setParagraphInsets(javax.swing.text.AttributeSet), setInsets(short, short, short, short), replace(int, int, javax.swing.text.View[])

protected abstract void childAllocation(int index,
                                        Rectangle a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public CompositeView(Element elem)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean flipEastAndWestAtEnds(int position,
                                        Position.Bias bias)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected short getBottomInset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Shape getChildAllocation(int index,
                                Shape a)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Rectangle getInsideAllocation(Shape a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected short getLeftInset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getNextEastWestVisualPositionFrom(int pos,
                                                Position.Bias b,
                                                Shape a,
                                                int direction,
                                                Position.Bias[] biasRet)
                                         throws BadLocationException
See Also:
getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getNextNorthSouthVisualPositionFrom(int pos,
                                                  Position.Bias b,
                                                  Shape a,
                                                  int direction,
                                                  Position.Bias[] biasRet)
                                           throws BadLocationException
See Also:
getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getNextVisualPositionFrom(int pos,
                                     Position.Bias b,
                                     Shape a,
                                     int direction,
                                     Position.Bias[] biasRet)
                              throws BadLocationException
See Also:
IllegalArgumentException, View, getNextEastWestVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]), getNextNorthSouthVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected short getRightInset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected short getTopInset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public View getView(int n)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract View getViewAtPoint(int x,
                                       int y,
                                       Rectangle alloc)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected View getViewAtPosition(int pos,
                                 Rectangle a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getViewCount()
See Also:
getView(int), View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getViewIndex(int pos,
                        Position.Bias b)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getViewIndexAtPosition(int pos)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract boolean isAfter(int x,
                                   int y,
                                   Rectangle alloc)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract boolean isBefore(int x,
                                    int y,
                                    Rectangle alloc)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void loadChildren(ViewFactory f)
See Also:
setParent(javax.swing.text.View)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Shape modelToView(int pos,
                         Shape a,
                         Position.Bias b)
                  throws BadLocationException
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Shape modelToView(int p0,
                         Position.Bias b0,
                         int p1,
                         Position.Bias b1,
                         Shape a)
                  throws BadLocationException
See Also:
View.viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[]), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void replace(int offset,
                    int length,
                    View[] views)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setInsets(short top,
                         short left,
                         short bottom,
                         short right)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setParagraphInsets(AttributeSet attr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setParent(View parent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int viewToModel(float x,
                       float y,
                       Shape a,
                       Position.Bias[] bias)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags