Uses of Class javax.swing.text.View

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.

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
class
A View that renders HTML form elements like buttons and input fields.
class
Implements HTML framesets.
class
A view, representing a single image, represented by the HTML IMG tag.
class
Renders HTML content (identified by HTML.Tag.CONTENT).
class
A View to render HTML lists, like the <ul> and <ol> tags.
class
A view for HTML <object> tags.
class
Renders a paragraph in HTML.

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
BlockView.replace(int offset, int length, View[] views)
Overridden to fetch additional CSS layout information.
void
Creates the parent view for this.
void
Sets the parent of this view.

Methods with return type javax.swing.text.View

View
InlineView.breakView(int axis, int offset, float pos, float len)
View
Creates a View for the specified Element.

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
A View implementation that lays out its child views in a box, either vertically or horizontally.
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
class
A View implementation that delays loading of sub views until they are needed for display or internal transformations.

Constructors with parameter type javax.swing.text.View

Creates a new ChildState object for the specified child view.

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
AsyncBoxView.ChildState
Creates a ChildState object for the specified view.
void
Forwards an update event to the given child view.
void
View.insert(int offset, View view)
boolean
Returns true when the specified zone is loaded, false otherwise.
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
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.
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
AsyncBoxView.replace(int offset, int length, View[] views)
Replaces child views with new child views.
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)
Replaces a couple of child views with new child views.
void
Sets the parent for this view.
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
Sets the parent for this view.
void
This unloads the specified zone.
void
Gets called after a zone has been loaded.

Methods with return type javax.swing.text.View

View
ParagraphView.breakView(int axis, float len, 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
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 startOffset, int spanLeft, int rowIndex)
Creates physical views that form the rows of the flow view.
View
ZoneView.createZone(int p0, int p1)
Creates a zone for the specified range.
View
Returns the child view for which this ChildState represents the layout state.
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
AsyncBoxView.getView(int index)
Returns the view at the specified index.
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.