|
|||||||||
| Home >> All >> javax >> swing >> [ text overview ] | PREV NEXT | ||||||||
Uses of Class
javax.swing.text.View
| Uses of View in javax.swing.text |
| Subclasses of View in javax.swing.text | |
class |
AsyncBoxView
A View implementation that lays out its child views in a box, either vertically or horizontally. |
class |
BoxView
An implementation of CompositeView that arranges its children in a box along one axis. |
class |
ComponentView
A View implementation that is able to render arbitrary java.awt.Components. |
class |
CompositeView
An abstract base implementation of View that manages child Views. |
class |
FieldView
|
class |
FlowView
A View that can flows it's children into it's layout space. |
(package private) class |
FlowView.LogicalView
This special subclass of View is used to represent
the logical representation of this view. |
class |
GlyphView
Renders a run of styled text. |
class |
IconView
A View that can render an icon. |
class |
LabelView
A GlyphView that caches the textattributes for most effective rendering. |
class |
ParagraphView
A FlowView that flows it's children horizontally and boxes the rows vertically. |
(package private) class |
ParagraphView.Row
A specialized horizontal BoxView that represents exactly
one row in a ParagraphView. |
class |
PasswordView
|
class |
PlainView
|
class |
TableView
A View implementation for rendering tables inside styled text. |
class |
TableView.TableCell
Deprecated. Table cells are now rendered by an arbitrary View
implementation. |
class |
TableView.TableRow
A view implementation that renders a row of a TableView. |
class |
WrappedPlainView
|
(package private) class |
WrappedPlainView.WrappedLine
|
| Fields in javax.swing.text declared as View | |
private View |
View.parent
|
protected View |
FlowView.layoutPool
Represents the logical child elements of this view, encapsulated within one parent view (an instance of a package private LogicalView
class). |
(package private) View[] |
CompositeView.children
The child views of this CompositeView. |
private View |
AsyncBoxView.ChildState.childView
The child view for this state record. |
| Methods in javax.swing.text that return View | |
View |
ViewFactory.create(Element elem)
Creates a view for a given element. |
View |
View.getParent()
|
View |
View.getView(int index)
|
View |
View.createFragment(int p0,
int p1)
|
View |
View.breakView(int axis,
int offset,
float pos,
float len)
|
View |
WrappedPlainView.WrappedLineCreator.create(Element elem)
|
protected View |
TableView.getViewAtPosition(int pos,
java.awt.Rectangle a)
Returns the child view that represents the specified position in the model. |
protected View |
TableView.TableRow.getViewAtPosition(int pos,
java.awt.Rectangle a)
Returns the child view that represents the specified position in the model. |
View |
StyledEditorKit.StyledViewFactory.create(Element element)
Creates a View for the specified Element. |
protected View |
ParagraphView.createRow()
Creates a new view that represents a row within a flow. |
protected View |
ParagraphView.getLayoutView(int i)
Returns the i-th view from the logical views, before breaking into rows. |
View |
ParagraphView.breakView(int axis,
float len,
java.awt.Shape a)
|
View |
GlyphView.breakView(int axis,
int p0,
float pos,
float len)
Tries to break the view near the specified view span len. |
View |
GlyphView.createFragment(int p0,
int p1)
Creates a fragment view of this view that starts at p0 and
ends at p1. |
protected abstract View |
FlowView.createRow()
Creates a new view that represents a row within a flow. |
protected View |
FlowView.FlowStrategy.getLogicalView(FlowView fv)
Returns the logical view of the managed FlowView. |
protected View |
FlowView.FlowStrategy.createView(FlowView fv,
int startOffset,
int spanLeft,
int rowIndex)
Creates physical views that form the rows of the flow view. |
View |
CompositeView.getView(int n)
Returns the child view at index n. |
protected abstract View |
CompositeView.getViewAtPoint(int x,
int y,
java.awt.Rectangle r)
Returns the child View at the specified location. |
protected View |
CompositeView.getViewAtPosition(int pos,
java.awt.Rectangle a)
Returns the child View that contains the given model
position. |
protected View |
BoxView.getViewAtPoint(int x,
int y,
java.awt.Rectangle r)
Returns the child View at the specified location. |
View |
AsyncBoxView.getView(int index)
Returns the view at the specified index. |
View |
AsyncBoxView.ChildState.getChildView()
Returns the child view for which this ChildState represents
the layout state. |
| Methods in javax.swing.text with parameters of type View | |
void |
View.setParent(View parent)
Sets the parent for this view. |
void |
View.replace(int offset,
int length,
View[] views)
Replaces a couple of child views with new child views. |
void |
View.insert(int offset,
View view)
|
void |
View.append(View view)
|
void |
View.preferenceChanged(View child,
boolean width,
boolean height)
|
protected void |
View.forwardUpdateToView(View view,
javax.swing.event.DocumentEvent ev,
java.awt.Shape shape,
ViewFactory vf)
Forwards an update event to the given child view. |
abstract void |
LayeredHighlighter.paintLayeredHighlights(java.awt.Graphics g,
int p0,
int p1,
java.awt.Shape viewBounds,
JTextComponent editor,
View view)
|
abstract java.awt.Shape |
LayeredHighlighter.LayerPainter.paintLayer(java.awt.Graphics g,
int p0,
int p1,
java.awt.Shape viewBounds,
JTextComponent editor,
View view)
|
void |
DefaultHighlighter.paintLayeredHighlights(java.awt.Graphics g,
int p0,
int p1,
java.awt.Shape viewBounds,
JTextComponent editor,
View view)
|
java.awt.Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(java.awt.Graphics g,
int p0,
int p1,
java.awt.Shape bounds,
JTextComponent c,
View view)
|
void |
TableView.replace(int offset,
int length,
View[] views)
Replaces a number of child views with a set of new child views. |
void |
TableView.TableRow.replace(int offset,
int length,
View[] views)
Replaces some child views with a new set of child views. |
void |
CompositeView.setParent(View parent)
Sets the parent of this View. |
void |
CompositeView.replace(int offset,
int length,
View[] views)
Replaces child views by some other child views. |
void |
ComponentView.setParent(View p)
This sets up the component when the view is added to its parent, or cleans up the view when it is removed from its parent. |
private void |
ComponentView.setParentImpl(View p)
The implementation of ComponentView.setParent(javax.swing.text.View) 55 . |
void |
BoxView.replace(int offset,
int length,
View[] views)
Replaces child views by some other child views. |
void |
BoxView.preferenceChanged(View child,
boolean width,
boolean height)
Called by a child View when its preferred span has changed. |
void |
AsyncBoxView.setParent(View parent)
Sets the parent for this view. |
void |
AsyncBoxView.replace(int offset,
int length,
View[] views)
Replaces child views with new child views. |
void |
AsyncBoxView.preferenceChanged(View view,
boolean width,
boolean height)
Receives notification that one of the child views has changed its layout preferences along one or both axis. |
protected AsyncBoxView.ChildState |
AsyncBoxView.createChildState(View v)
Creates a ChildState object for the specified view. |
| Constructors in javax.swing.text with parameters of type View | |
AsyncBoxView.ChildState(View view)
Creates a new ChildState object for the specified child
view. |
|
|
|||||||||
| Home >> All >> javax >> swing >> [ text overview ] | PREV NEXT | ||||||||