java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
- All Implemented Interfaces:
- SwingConstants
- Direct Known Subclasses:
- BlockView, FlowView, TableView, TableView.TableCell, TableView.TableRow, WrappedPlainView, ZoneView
- See Also:
- Source Code
protected void baselineLayout(int targetSpan,
int axis,
int[] offsets,
int[] spans)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected SizeRequirements baselineRequirements(int axis,
SizeRequirements r)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BoxView(Element elem,
int axis)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected SizeRequirements calculateMajorAxisRequirements(int axis,
SizeRequirements r)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected SizeRequirements calculateMinorAxisRequirements(int axis,
SizeRequirements r)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void childAllocation(int index,
Rectangle alloc)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean flipEastAndWestAtEnds(int position,
Position.Bias bias)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)- See Also:
View.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory), View.removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory), View.insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getAlignment(int axis)
- See Also:
- IllegalArgumentException, View
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getAxis()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getChildAllocation(int index,
Shape a)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getHeight()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getMaximumSpan(int axis)
- See Also:
View.getPreferredSpan(int), IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getMinimumSpan(int axis)
- See Also:
View.getPreferredSpan(int), IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getOffset(int axis,
int childIndex)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getPreferredSpan(int axis)
- See Also:
- IllegalArgumentException, View
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getResizeWeight(int axis)
- See Also:
- IllegalArgumentException, View
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getSpan(int axis,
int childIndex)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected View getViewAtPoint(int x,
int y,
Rectangle alloc)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getWidth()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean isAfter(int x,
int y,
Rectangle innerAlloc)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean isAllocationValid()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean isBefore(int x,
int y,
Rectangle innerAlloc)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean isLayoutValid(int axis)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void layout(int width,
int height)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void layoutChanged(int axis)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void layoutMajorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void layoutMinorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)- 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:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paint(Graphics g,
Shape allocation)- See Also:
- View
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintChild(Graphics g,
Rectangle alloc,
int index)- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void preferenceChanged(View child,
boolean width,
boolean height)- See Also:
JComponent.revalidate()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void replace(int index,
int length,
View[] elems)- See Also:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setAxis(int axis)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setSize(float width,
float height)- See Also:
- View
- 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:
- CompositeView
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples