| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
| java.awt.image.renderable |
Provides classes and interfaces for producing rendering-independent images.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| 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 | Class and Description |
|---|---|
class |
Polygon
The
Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.
|
class |
Rectangle
A
Rectangle specifies an area in a coordinate space that is enclosed by the
Rectangle object's upper-left point
(x,y) in the coordinate space, its width, and its height.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
Stroke.createStrokedShape(Shape
Returns an outline
Shape which encloses the area that should be painted when the
Shape is stroked according to the rules defined by the object implementing the
Stroke interface.
|
Shape |
BasicStroke.createStrokedShape(Shape
Returns a
Shape whose interior defines the stroked outline of a specified
Shape.
|
abstract Shape |
Graphics.getClip()
Gets the current clipping area.
|
Shape |
Window.getShape()
Returns the shape of the window.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Graphics2D.clip(Shape
Intersects the current
Clip with the interior of the specified
Shape and sets the
Clip to the resulting intersection.
|
Shape |
Stroke.createStrokedShape(Shape
Returns an outline
Shape which encloses the area that should be painted when the
Shape is stroked according to the rules defined by the object implementing the
Stroke interface.
|
Shape |
BasicStroke.createStrokedShape(Shape
Returns a
Shape whose interior defines the stroked outline of a specified
Shape.
|
abstract void |
Graphics2D.draw(Shape
Strokes the outline of a
Shape using the settings of the current
Graphics2D context.
|
abstract void |
Graphics2D.fill(Shape
Fills the interior of a
Shape using the settings of the
Graphics2D context.
|
abstract boolean |
Graphics2D.hit(Rectangle
Checks whether or not the specified
Shape intersects the specified
Rectangle, which is in device space.
|
abstract void |
Graphics.setClip(Shape
Sets the current clipping area to an arbitrary clip shape.
|
void |
Window.setShape(Shape
Sets the shape of the window.
|
void |
Dialog.setShape(Shape
Sets the shape of the window.
|
void |
Frame.setShape(Shape
Sets the shape of the window.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
TextLayout.getBlackBoxBounds(int firstEndpoint, int secondEndpoint)
Returns the black box bounds of the characters in the specified range.
|
Shape |
TextLayout.getCaretShape(TextHitInfo
Returns a
Shape representing the caret at the specified hit inside the natural bounds of this
TextLayout.
|
Shape |
TextLayout.getCaretShape(TextHitInfo
Returns a
Shape representing the caret at the specified hit inside the specified bounds.
|
Shape |
TextLayout.getCaretShapes(int offset)
Returns two paths corresponding to the strong and weak caret.
|
Shape |
TextLayout.getCaretShapes(int offset, Rectangle2D
Returns two paths corresponding to the strong and weak caret.
|
Shape |
TextLayout.getCaretShapes(int offset, Rectangle2D
Returns two paths corresponding to the strong and weak caret.
|
abstract Shape |
GlyphVector.getGlyphLogicalBounds(int glyphIndex)
Returns the logical bounds of the specified glyph within this
GlyphVector.
|
abstract Shape |
GlyphVector.getGlyphOutline(int glyphIndex)
Returns a
Shape whose interior corresponds to the visual representation of the specified glyph within this
GlyphVector.
|
Shape |
GlyphVector.getGlyphOutline(int glyphIndex, float x, float y)
Returns a
Shape whose interior corresponds to the visual representation of the specified glyph within this
GlyphVector, offset to x, y.
|
abstract Shape |
GlyphVector.getGlyphVisualBounds(int glyphIndex)
Returns the visual bounds of the specified glyph within the
GlyphVector.
|
Shape |
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)
Returns a
Shape enclosing the logical selection in the specified range, extended to the natural bounds of this
TextLayout.
|
Shape |
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D
Returns a
Shape enclosing the logical selection in the specified range, extended to the specified
bounds.
|
abstract Shape |
GlyphVector.getOutline()
Returns a
Shape whose interior corresponds to the visual representation of this
GlyphVector.
|
Shape |
ShapeGraphicAttribute.getOutline(AffineTransform
Return a
Shape that represents the region that this
ShapeGraphicAttribute renders.
|
Shape |
GraphicAttribute.getOutline(AffineTransform
Return a
Shape that represents the region that this
GraphicAttribute renders.
|
Shape |
TextLayout.getOutline(AffineTransform
Returns a
Shape representing the outline of this
TextLayout.
|
abstract Shape |
GlyphVector.getOutline(float x, float y)
Returns a
Shape whose interior corresponds to the visual representation of this
GlyphVector when rendered at x, y.
|
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo
Returns a
Shape enclosing the visual selection in the specified range, extended to the bounds.
|
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo
Returns a path enclosing the visual selection in the specified range, extended to
bounds.
|
| Constructor and Description | |
|---|---|
ShapeGraphicAttribute(Shape
Constructs a
ShapeGraphicAttribute for the specified
Shape.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Arc2D
Arc2D is the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (
OPEN,
CHORD, or
PIE).
|
static class |
Arc2D
This class defines an arc specified in
double precision.
|
static class |
Arc2D
This class defines an arc specified in
float precision.
|
class |
Area
An
Area object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.
|
class |
CubicCurve2D
The
CubicCurve2D class defines a cubic parametric curve segment in
(x,y) coordinate space.
|
static class |
CubicCurve2D
A cubic parametric curve segment specified with
double coordinates.
|
static class |
CubicCurve2D
A cubic parametric curve segment specified with
float coordinates.
|
class |
Ellipse2D
The
Ellipse2D class describes an ellipse that is defined by a framing rectangle.
|
static class |
Ellipse2D
The
Double class defines an ellipse specified in
double precision.
|
static class |
Ellipse2D
The
Float class defines an ellipse specified in
float precision.
|
class |
GeneralPath
The
GeneralPath class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.
|
class |
Line2D
This
Line2D represents a line segment in
(x,y) coordinate space.
|
static class |
Line2D
A line segment specified with double coordinates.
|
static class |
Line2D
A line segment specified with float coordinates.
|
class |
Path2D
The
Path2D class provides a simple, yet flexible shape which represents an arbitrary geometric path.
|
static class |
Path2D
The
Double class defines a geometric path with coordinates stored in double precision floating point.
|
static class |
Path2D
The
Float class defines a geometric path with coordinates stored in single precision floating point.
|
class |
QuadCurve2D
The
QuadCurve2D class defines a quadratic parametric curve segment in
(x,y) coordinate space.
|
static class |
QuadCurve2D
A quadratic parametric curve segment specified with
double coordinates.
|
static class |
QuadCurve2D
A quadratic parametric curve segment specified with
float coordinates.
|
class |
Rectangle2D
The
Rectangle2D class describes a rectangle defined by a location
(x,y) and dimension
(w x h).
|
static class |
Rectangle2D
The
Double class defines a rectangle specified in double coordinates.
|
static class |
Rectangle2D
The
Float class defines a rectangle specified in float coordinates.
|
class |
RectangularShape
RectangularShape is the base class for a number of
Shape objects whose geometry is defined by a rectangular frame.
|
class |
RoundRectangle2D
The
RoundRectangle2D class defines a rectangle with rounded corners defined by a location
(x,y), a dimension
(w x h), and the width and height of an arc with which to round the corners.
|
static class |
RoundRectangle2D
The
Double class defines a rectangle with rounded corners all specified in
double coordinates.
|
static class |
RoundRectangle2D
The
Float class defines a rectangle with rounded corners all specified in
float coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
Path2D.createTransformedShape(AffineTransform
Returns a new
Shape representing a transformed version of this
Path2D.
|
Shape |
AffineTransform.createTransformedShape(Shape
Returns a new
Shape object defined by the geometry of the specified
Shape after it has been transformed by this transform.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Path2D.append(Shape
Appends the geometry of the specified
Shape object to the path, possibly connecting the new geometry to the existing path segments with a line segment.
|
Shape |
AffineTransform.createTransformedShape(Shape
Returns a new
Shape object defined by the geometry of the specified
Shape after it has been transformed by this transform.
|
| Constructor and Description | |
|---|---|
Area(Shape
The
Area class creates an area geometry from the specified
Shape object.
|
|
Double(Shape
Constructs a new double precision
Path2D object from an arbitrary
Shape object.
|
|
Double(Shape
Constructs a new double precision
Path2D object from an arbitrary
Shape object, transformed by an
AffineTransform object.
|
|
Float(Shape
Constructs a new single precision
Path2D object from an arbitrary
Shape object.
|
|
Float(Shape
Constructs a new single precision
Path2D object from an arbitrary
Shape object, transformed by an
AffineTransform object.
|
|
GeneralPath(Shape
Constructs a new
GeneralPath object from an arbitrary
Shape object.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
RenderContext.getAreaOfInterest()
Gets the ares of interest currently contained in the RenderContext.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RenderContext.setAreaOfInterest(Shape
Sets the current area of interest.
|
| Constructor and Description | |
|---|---|
RenderContext(AffineTransform
Constructs a RenderContext with a given transform and area of interest.
|
|
RenderContext(AffineTransform
Constructs a RenderContext with a given transform.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
DebugGraphics.getClip()
Overrides
Graphics.getClip.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DebugGraphics.setClip(Shape
Overrides
Graphics.setClip.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicTextUI
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCaret
A default implementation of Caret.
|
| Modifier and Type | Method and Description |
|---|---|
protected Shape |
FieldView.adjustAllocation(Shape
Adjusts the allocation given to the view to be a suitable allocation for a text field.
|
protected Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index)
Fetch the allocation to use for a child view.
|
Shape |
BoxView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
CompositeView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view to render into.
|
Shape |
View.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
AsyncBoxView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape
Fetch the allocation to use for a child view.
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
CompositeView.modelToView(int p0, Position
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
View.modelToView(int p0, Position
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.
|
Shape |
View.modelToView(int pos, Shape
Deprecated.
|
Shape |
GlyphView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
BoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
IconView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
PlainView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
ComponentView.modelToView(int pos, Shape
Provides a mapping from the coordinate space of the model to that of the view.
|
Shape |
CompositeView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
abstract Shape |
View.modelToView(int pos, Shape
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.
|
Shape |
PasswordView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
FieldView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
AsyncBoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics
Paints a portion of a highlight.
|
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics
|
| Modifier and Type | Method and Description |
|---|---|
protected Shape |
FieldView.adjustAllocation(Shape
Adjusts the allocation given to the view to be a suitable allocation for a text field.
|
View |
ParagraphView.breakView(int axis, float len, Shape
Breaks this view on the given axis at the given length.
|
void |
ParagraphView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
GlyphView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
PlainView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
WrappedPlainView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
LabelView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
View.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
FlowView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
protected void |
PlainView.damageLineRange(int line0, int line1, Shape
Repaint the given line range.
|
protected void |
BoxView.forwardUpdate(DocumentEvent
Forwards the given
DocumentEvent to the child views that need to be notified of the change to the model.
|
protected void |
TableView.forwardUpdate(DocumentEvent
|
protected void |
View.forwardUpdate(DocumentEvent
Forwards the given
DocumentEvent to the child views that need to be notified of the change to the model.
|
protected void |
View.forwardUpdateToView(View
Forwards the
DocumentEvent to the give child view.
|
Shape |
BoxView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
CompositeView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view to render into.
|
Shape |
View.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
AsyncBoxView.getChildAllocation(int index, Shape
Fetches the allocation for the given child view.
|
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape
Fetch the allocation to use for a child view.
|
protected int |
ParagraphView.getClosestPositionTo(int pos, Position
Returns the closest model position to
x.
|
protected Rectangle |
CompositeView.getInsideAllocation(Shape
Translates the immutable allocation given to the view to a mutable allocation that represents the interior allocation (i.e.
|
protected int |
CompositeView.getNextEastWestVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
CompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the north or south direction.
|
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
GlyphView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
CompositeView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
View.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location at which one might place a caret.
|
int |
AsyncBoxView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
String |
View.getToolTipText(float x, float y, Shape
Returns the tooltip text at the specified location.
|
int |
View.getViewIndex(float x, float y, Shape
Returns the child view index representing the given position in the view.
|
int |
AsyncBoxView.ChildLocator.getViewIndexAtPoint(float x, float y, Shape
Fetches the child view index at the given point.
|
void |
GlyphView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
PlainView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
WrappedPlainView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
ZoneView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
View.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
FlowView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
void |
FieldView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
protected Rectangle |
PlainView.lineToRect(Shape
Determine the rectangle that represents the given line.
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
CompositeView.modelToView(int p0, Position
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
View.modelToView(int p0, Position
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.
|
Shape |
View.modelToView(int pos, Shape
Deprecated.
|
Shape |
GlyphView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
BoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
IconView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
PlainView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
ComponentView.modelToView(int pos, Shape
Provides a mapping from the coordinate space of the model to that of the view.
|
Shape |
CompositeView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
abstract Shape |
View.modelToView(int pos, Shape
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.
|
Shape |
PasswordView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
FieldView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
AsyncBoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
abstract void |
GlyphView.GlyphPainter.paint(GlyphView
Paint the glyphs representing the given range.
|
void |
Highlighter.HighlightPainter.paint(Graphics
Renders the highlight.
|
void |
DefaultHighlighter.DefaultHighlightPainter.paint(Graphics
Paints a highlight.
|
void |
ParagraphView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
GlyphView.paint(Graphics
Renders a portion of a text style run.
|
void |
BoxView.paint(Graphics
Renders the
BoxView using the given rendering surface and area on that surface.
|
void |
IconView.paint(Graphics
Paints the icon.
|
void |
PlainView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
WrappedPlainView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
ComponentView.paint(Graphics
The real paint behavior occurs naturally from the association that the component has with its parent container (the same container hosting this view).
|
abstract void |
View.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
FieldView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
AsyncBoxView.paint(Graphics
Render the view using the given allocation and rendering surface.
|
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 |
GlyphView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
PlainView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
WrappedPlainView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
ZoneView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
View.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
FlowView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
void |
FieldView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
protected void |
AsyncBoxView.ChildLocator.setAllocation(Shape
Copy the currently allocated shape into the Rectangle used to store the current allocation.
|
protected void |
PlainView.updateDamage(DocumentEvent
Repaint the region of change covered by the given document event.
|
protected void |
View.updateLayout(DocumentEvent
Updates the layout in response to receiving notification of change from the model.
|
protected void |
AsyncBoxView.updateLayout(DocumentEvent
Update the layout in response to receiving notification of change from the model.
|
int |
View.viewToModel(float x, float y, Shape
Deprecated.
|
int |
GlyphView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
BoxView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
IconView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
PlainView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
ComponentView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
CompositeView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
abstract int |
View.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
PasswordView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
FieldView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
AsyncBoxView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
ImageView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImageView.changedUpdate(DocumentEvent
Invoked when the Elements attributes have changed.
|
void |
InlineView.changedUpdate(DocumentEvent
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
void |
BlockView.changedUpdate(DocumentEvent
|
String |
ImageView.getToolTipText(float x, float y, Shape
For images the tooltip text comes from text specified with the
ALT attribute.
|
void |
InlineView.insertUpdate(DocumentEvent
Gives notification that something was inserted into the document in a location that this view is responsible for.
|
Shape |
ImageView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
void |
ImageView.paint(Graphics
Paints the View.
|
void |
ParagraphView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
ListView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
BlockView.paint(Graphics
Renders using the given rendering surface and area on that surface.
|
void |
InlineView.removeUpdate(DocumentEvent
Gives notification that something was removed from the document in a location that this view is responsible for.
|
int |
ImageView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|