| Package | Description |
|---|---|
| javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
| javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| Modifier and Type | Method and Description |
|---|---|
abstract View |
TextUI.getRootView(JTextComponent
Fetches a View with the allocation of the associated text component (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
View |
BasicPasswordFieldUI.create(Element
Creates a view (PasswordView) for an element.
|
View |
BasicTextAreaUI.create(Element
Creates the view for an element.
|
View |
BasicTextFieldUI.create(Element
Creates a view (FieldView) based on an element.
|
View |
BasicTextUI.create(Element
Creates a view for an element.
|
View |
BasicTextUI.create(Element
Creates a view for an element.
|
static View |
BasicHTML.createHTMLView(JComponent
Create an html renderer for the given component and string of html.
|
View |
BasicTextUI.getRootView(JTextComponent
Fetches a View with the allocation of the associated text component (i.e.
|
protected View |
BasicTabbedPaneUI.getTextViewForTab(int tabIndex)
Returns the text View object required to render stylized text (HTML) for the specified tab or null if no specialized text rendering is needed for this tab.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
BasicHTML.getHTMLBaseline(View
Returns the baseline for the html renderer.
|
protected void |
BasicTextUI.setView(View
Sets the current root of the view hierarchy and calls invalidate().
|
| Modifier and Type | Method and Description |
|---|---|
View |
MultiTextUI.getRootView(JTextComponent
Invokes the
getRootView method on each UI handled by this object.
|
| Modifier and Type | Method and Description |
|---|---|
View |
SynthPasswordFieldUI.create(Element
Creates a view (PasswordView) for an element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncBoxView
A box that does layout asynchronously.
|
class |
BoxView
A view that arranges its children into a box shape by tiling its children along an axis.
|
class |
ComponentView
Component decorator that implements the view interface.
|
class |
CompositeView
CompositeView is an abstract
View implementation which manages one or more child views.
|
class |
FieldView
Extends the multi-line plain text view to be suitable for a single-line editor view.
|
class |
FlowView
A View that tries to flow it's children into some partially constrained space.
|
class |
GlyphView
A GlyphView is a styled chunk of text that represents a view mapped over an element in the text model.
|
class |
IconView
Icon decorator that implements the view interface.
|
class |
LabelView
A
LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
|
class |
ParagraphView
View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
|
class |
PasswordView
Implements a View suitable for use in JPasswordField UI implementations.
|
class |
PlainView
Implements View interface for a simple multi-line text view that has text in one font and color.
|
class |
TableView
Implements View interface for a table, that is composed of an element structure where the child elements of the element this view is responsible for represent rows and the child elements of the row elements are cells.
|
class |
TableView
Deprecated.
A table cell can now be any View implementation.
|
class |
TableView
View of a row in a row-centric table.
|
class |
WrappedPlainView
View of plain text (text with only one font and color) that does line-wrapping.
|
class |
ZoneView
ZoneView is a View implementation that creates zones for which the child views are not created or stored until they are needed for display or model/view translations.
|
| Modifier and Type | Field and Description |
|---|---|
protected View |
FlowView.layoutPool
These are the views that represent the child elements of the element this view represents (The logical view to translate to a physical view).
|
| Modifier and Type | Method and Description |
|---|---|
View |
ParagraphView.breakView(int axis, float len, Shape
Breaks this view on the given axis at the given length.
|
View |
GlyphView.breakView(int axis, int p0, float pos, float len)
Breaks this view on the given axis at the given length.
|
View |
View.breakView(int axis, int offset, float pos, float len)
Tries to break this view on the given axis.
|
View |
ViewFactory.create(Element
Creates a view from the given structural element of a document.
|
View |
GlyphView.createFragment(int p0, int p1)
Creates a view that represents a portion of the element.
|
View |
View.createFragment(int p0, int p1)
Creates a view that represents a portion of the element.
|
protected View |
ParagraphView.createRow()
Create a
View that should be used to hold a a row's worth of children in a flow.
|
protected abstract View |
FlowView.createRow()
Create a View that should be used to hold a a rows worth of children in a flow.
|
protected View |
FlowView.FlowStrategy.createView(FlowView
Creates a view that can be used to represent the current piece of the flow.
|
protected View |
ZoneView.createZone(int p0, int p1)
Create a view to represent a zone for the given range within the model (which should be within the range of this objects responsibility).
|
View |
AsyncBoxView.ChildState.getChildView()
Fetch the child view this record represents
|
protected View |
ParagraphView.getLayoutView(int index)
Returns the view at a given
index.
|
protected View |
FlowView.FlowStrategy.getLogicalView(FlowView
This method gives flow strategies access to the logical view of the FlowView.
|
View |
View.getParent()
Returns the parent of the view.
|
View |
CompositeView.getView(int n)
Returns the n-th view in this container.
|
View |
View.getView(int n)
Gets the
nth child view.
|
View |
AsyncBoxView.getView(int n)
Gets the nth child view.
|
protected View |
BoxView.getViewAtPoint(int x, int y, Rectangle
Fetches the child view at the given coordinates.
|
protected abstract View |
CompositeView.getViewAtPoint(int x, int y, Rectangle
Fetches the child view at the given coordinates.
|
protected View |
TableView.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
protected View |
TableView.TableRow.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
protected View |
CompositeView.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
View.append(View
Appends a single child view.
|
protected AsyncBoxView |
AsyncBoxView.createChildState(View
New ChildState records are created through this method to allow subclasses the extend the ChildState records to do/hold more
|
protected void |
View.forwardUpdateToView(View
Forwards the
DocumentEvent to the give child view.
|
void |
View.insert(int offs, View
Inserts a single child view.
|
protected boolean |
ZoneView.isZoneLoaded(View
Determine if a zone is in the loaded state.
|
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics
Paints a portion of a highlight.
|
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics
|
void |
DefaultHighlighter.paintLayeredHighlights(Graphics
When leaf Views (such as LabelView) are rendering they should call into this method.
|
abstract void |
LayeredHighlighter.paintLayeredHighlights(Graphics
When leaf Views (such as LabelView) are rendering they should call into this method.
|
void |
BoxView.preferenceChanged(View
This is called by a child to indicate its preferred span has changed.
|
void |
View.preferenceChanged(View
Child views can call this on the parent to indicate that the preference has changed and should be reconsidered for layout.
|
void |
AsyncBoxView.preferenceChanged(View
Child views can call this on the parent to indicate that the preference has changed and should be reconsidered for layout.
|
void |
BoxView.replace(int index, int length, View
Invalidates the layout and resizes the cache of requests/allocations.
|
void |
TableView.replace(int offset, int length, View
Change the child views.
|
void |
TableView.TableRow.replace(int offset, int length, View
Change the child views.
|
void |
CompositeView.replace(int offset, int length, View
Replaces child views.
|
void |
View.replace(int offset, int length, View
Replaces child views.
|
void |
AsyncBoxView.replace(int offset, int length, View
Calls the superclass to update the child views, and updates the status records for the children.
|
void |
ComponentView.setParent(View
Sets the parent for a child view.
|
void |
CompositeView.setParent(View
Sets the parent of the view.
|
void |
View.setParent(View
Establishes the parent view for this view.
|
void |
FlowView.setParent(View
Sets the parent of the view.
|
void |
AsyncBoxView.setParent(View
Sets the parent of the view.
|
protected void |
ZoneView.unloadZone(View
Unload a zone (Convert the zone to its memory saving state).
|
protected void |
ZoneView.zoneWasLoaded(View
Called by a zone when it gets loaded.
|
| Constructor and Description | |
|---|---|
ChildState(View
Construct a child status.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockView
A view implementation to display a block (as a box) with CSS specifications.
|
class |
FormView
Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>.
|
class |
ImageView
View of an Image, intended to support the HTML <IMG> tag.
|
class |
InlineView
Displays the inline element styles based upon css attributes.
|
class |
ListView
A view implementation to display an html list
|
class |
ObjectView
Component decorator that implements the view interface for <object> elements.
|
| Modifier and Type | Method and Description |
|---|---|
View |
InlineView.breakView(int axis, int offset, float pos, float len)
Tries to break this view on the given axis.
|
View |
HTMLEditorKit.HTMLFactory.create(Element
Creates a view from an element.
|
| Modifier and Type | Method and Description |
|---|---|
float |
StyleSheet.BoxPainter.getInset(int side, View
Fetches the inset needed on a given side to account for the margin, border, and padding.
|
AttributeSet |
StyleSheet.getViewAttributes(View
Fetches a set of attributes to use in the view for displaying.
|
void |
StyleSheet.BoxPainter.paint(Graphics
Paints the CSS box according to the attributes given.
|
void |
StyleSheet.ListPainter.paint(Graphics
Paints the CSS list decoration according to the attributes given.
|
void |
ImageView.setParent(View
Establishes the parent view for this view.
|
void |
ParagraphView.setParent(View
Establishes the parent view for this view.
|
void |
BlockView.setParent(View
Establishes the parent view for this view.
|