Uses of Class javax.swing.text.View

Uses in package javax.swing.plaf.basic

Methods with parameter type javax.swing.text.View

void
Sets the root view for the text component.

Methods with return type javax.swing.text.View

View
Creates a View for the specified Element.
View
Create the view.
View
Creates a View for the specified Element.
View
Creates a View for the specified Element.
View
BasicTextUI.create(Element elem, int p0, int p1)
Creates a View for the specified Element.
View
Creates a View instance that can be used by the component c to render the HTML string html.
View
Returns the root View of a text component.
View
This method returns a view that can paint the text for the label.

Uses in package javax.swing.text

Classes derived from javax.swing.text.View

class
An implementation of CompositeView that arranges its children in a box along one axis.
class
A View implementation that is able to render arbitrary Components.
class
An abstract base implementation of View that manages child Views.
class
class
A View that can flows it's children into it's layout space.
class
Renders a run of styled text.
class
A View that can render an icon.
class
A GlyphView that caches the textattributes for most effective rendering.
class
A FlowView that flows it's children horizontally and boxes the rows vertically.
class
class
class
A View implementation for rendering tables inside styled text.
class
This class is deprecated and not used anymore.
class
A view implementation that renders a row of a TableView.
class

Fields of type javax.swing.text.View

View
Represents the logical child elements of this view, encapsulated within one parent view (an instance of a package private LogicalView class).

Methods with parameter type javax.swing.text.View

void
void
Forwards an update event to the given child view.
void
View.insert(int offset, View view)
Shape
Shape
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
BoxView.preferenceChanged(View child, boolean width, boolean height)
Called by a child View when its preferred span has changed.
void
View.preferenceChanged(View child, boolean width, boolean height)
void
BoxView.replace(int offset, int length, View[] views)
Replaces child views by some other child views.
void
CompositeView.replace(int offset, int length, View[] views)
Replaces child views by some other child views.
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
View.replace(int offset, int length, View[] views)
void
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.
void
Sets the parent of this View.
void

Methods with return type javax.swing.text.View

View
GlyphView.breakView(int axis, int p0, float pos, float len)
Tries to break the view near the specified view span len.
View
View.breakView(int axis, int offset, float pos, float len)
View
Creates a view for a given element.
View
GlyphView.createFragment(int p0, int p1)
Creates a fragment view of this view that starts at p0 and ends at p1.
View
View.createFragment(int p0, int p1)
View
Creates a new view that represents a row within a flow.
View
Creates a new view that represents a row within a flow.
View
FlowView.FlowStrategy.createView(FlowView fv, int offset, int spanLeft, int rowIndex)
Creates physical views that form the rows of the flow view.
View
Returns the i-th view from the logical views, before breaking into rows.
View
Returns the logical view of the managed FlowView.
View
View
Returns the child view at index n.
View
View.getView(int index)
View
BoxView.getViewAtPoint(int x, int y, Rectangle r)
Returns the child View at the specified location.
View
Returns the child View at the specified location.
View
Returns the child View that contains the given model position.
View
Returns the child view that represents the specified position in the model.
View
Returns the child view that represents the specified position in the model.

Uses in package javax.swing.plaf.multi

Methods with return type javax.swing.text.View

View
Calls the TextUI.getRootView(JTextComponent) method for all the UI delegates managed by this MultiTextUI, returning the view for the UI delegate from the primary look and feel.

Uses in package javax.swing.text.html

Classes derived from javax.swing.text.View

class

Methods with parameter type javax.swing.text.View

float
Gets the inset needed on a given side to account for the margin, border and padding.
AttributeSet
Gets a set of attributes to use in the view.
void
StyleSheet.BoxPainter.paint(Graphics g, float x, float y, float w, float h, View v)
Paints the CSS box according to the attributes given.
void
StyleSheet.ListPainter.paint(Graphics g, float x, float y, float w, float h, View v, int item)
Paints the CSS list decoration according to the attributes given.
void
Creates the parent view for this.

Methods with return type javax.swing.text.View

View
Creates a View for the specified Element.

Uses in package javax.swing.plaf

Methods with return type javax.swing.text.View

View
Retrieves the root of the view tree that visually presents the text.