|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Shape | |
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. |
Uses of Shape in java.awt |
Classes in java.awt that implement Shape | |
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 top-left point
(x, y)
in the coordinate space, its width, and its height. |
Methods in java.awt that return Shape | |
Shape |
BasicStroke.createStrokedShape(Shape s)
Returns a Shape whose interior defines the
stroked outline of a specified Shape . |
Shape |
Stroke.createStrokedShape(Shape p)
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. |
abstract Shape |
Graphics.getClip()
Gets the current clipping area. |
Methods in java.awt with parameters of type Shape | |
Shape |
BasicStroke.createStrokedShape(Shape s)
Returns a Shape whose interior defines the
stroked outline of a specified Shape . |
Shape |
Stroke.createStrokedShape(Shape p)
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. |
abstract void |
Graphics2D.draw(Shape s)
Strokes the outline of a Shape using the settings of the
current Graphics2D context. |
abstract void |
Graphics2D.fill(Shape s)
Fills the interior of a Shape using the settings of the
Graphics2D context. |
abstract boolean |
Graphics2D.hit(Rectangle rect,
Shape s,
boolean onStroke)
Checks whether or not the specified Shape intersects
the specified Rectangle , which is in device
space. |
abstract void |
Graphics2D.clip(Shape s)
Intersects the current Clip with the interior of the
specified Shape and sets the Clip to the
resulting intersection. |
abstract void |
Graphics.setClip(Shape clip)
Sets the current clipping area to an arbitrary clip shape. |
Uses of Shape in java.awt.font |
Methods in java.awt.font that return Shape | |
Shape |
TextLayout.getCaretShape(TextHitInfo hit,
Rectangle2D bounds)
Returns a Shape representing the caret at the specified
hit inside the specified bounds. |
Shape |
TextLayout.getCaretShape(TextHitInfo hit)
Returns a Shape representing the caret at the specified
hit inside the natural bounds of this TextLayout . |
Shape[] |
TextLayout.getCaretShapes(int offset,
Rectangle2D bounds,
TextLayout.CaretPolicy policy)
Returns two paths corresponding to the strong and weak caret. |
Shape[] |
TextLayout.getCaretShapes(int offset,
Rectangle2D bounds)
Returns two paths corresponding to the strong and weak caret. |
Shape[] |
TextLayout.getCaretShapes(int offset)
Returns two paths corresponding to the strong and weak caret. |
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint,
TextHitInfo secondEndpoint,
Rectangle2D bounds)
Returns a path enclosing the visual selection in the specified range, extended to bounds . |
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint,
TextHitInfo secondEndpoint)
Returns a Shape enclosing the visual selection in the
specified range, extended to the bounds. |
Shape |
TextLayout.getLogicalHighlightShape(int firstEndpoint,
int secondEndpoint,
Rectangle2D bounds)
Returns a Shape enclosing the logical selection in the
specified range, extended to the specified bounds . |
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.getBlackBoxBounds(int firstEndpoint,
int secondEndpoint)
Returns the black box bounds of the characters in the specified range. |
Shape |
TextLayout.getOutline(AffineTransform tx)
Returns a Shape representing the outline of this
TextLayout . |
abstract Shape |
GlyphVector.getOutline()
Returns a Shape whose interior corresponds to the
visual representation of this GlyphVector . |
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. |
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.getGlyphLogicalBounds(int glyphIndex)
Returns the logical bounds of the specified glyph within this GlyphVector . |
abstract Shape |
GlyphVector.getGlyphVisualBounds(int glyphIndex)
Returns the visual bounds of the specified glyph within the GlyphVector . |
Constructors in java.awt.font with parameters of type Shape | |
ShapeGraphicAttribute(Shape shape,
int alignment,
boolean stroke)
Constructs a ShapeGraphicAttribute for the specified
Shape . |
Uses of Shape in java.awt.geom |
Classes in java.awt.geom that implement Shape | |
class |
Arc2D
Arc2D is the abstract superclass for all objects that
store a 2D arc defined by a bounding rectangle,
start angle, angular extent (length of the arc), and a closure type
(OPEN , CHORD , or PIE ). |
static class |
Arc2D.Double
This class defines an arc specified in double precision. |
static class |
Arc2D.Float
This class defines an arc specified in float precision. |
class |
Area
The Area class is a device-independent specification of an
arbitrarily-shaped area. |
class |
CubicCurve2D
The CubicCurve2D class defines a cubic parametric curve
segment in (x, y) coordinate space. |
static class |
CubicCurve2D.Double
A cubic parametric curve segment specified with double coordinates. |
static class |
CubicCurve2D.Float
A cubic parametric curve segment specified with float coordinates. |
class |
Ellipse2D
The Ellipse2D class describes an ellipse that is defined
by a bounding rectangle. |
static class |
Ellipse2D.Double
The Double class defines an ellipse specified
in double precision. |
static class |
Ellipse2D.Float
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.Double
A line segment specified with double coordinates. |
static class |
Line2D.Float
A line segment specified with float coordinates. |
class |
QuadCurve2D
The QuadCurve2D class defines a quadratic parametric curve
segment in (x, y) coordinate space. |
static class |
QuadCurve2D.Double
A quadratic parametric curve segment specified with double coordinates. |
static class |
QuadCurve2D.Float
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.Double
The Double class defines a rectangle specified in
double coordinates. |
static class |
Rectangle2D.Float
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.Double
The Double class defines a rectangle with rounded
corners all specified in double coordinates. |
static class |
RoundRectangle2D.Float
The Float class defines a rectangle with rounded
corners all specified in float coordinates. |
Methods in java.awt.geom that return Shape | |
Shape |
GeneralPath.createTransformedShape(AffineTransform at)
Returns a new transformed Shape . |
Shape |
AffineTransform.createTransformedShape(Shape pSrc)
Returns a new Shape object defined by the geometry of the
specified Shape after it has been transformed by
this transform. |
Methods in java.awt.geom with parameters of type Shape | |
void |
GeneralPath.append(Shape s,
boolean connect)
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 pSrc)
Returns a new Shape object defined by the geometry of the
specified Shape after it has been transformed by
this transform. |
Constructors in java.awt.geom with parameters of type Shape | |
Area(Shape s)
The Area class creates an area geometry from the
specified Shape object. |
|
GeneralPath(Shape s)
Constructs a new GeneralPath object from an arbitrary
Shape object. |
Uses of Shape in java.awt.image.renderable |
Methods in java.awt.image.renderable that return Shape | |
Shape |
RenderContext.getAreaOfInterest()
Gets the ares of interest currently contained in the RenderContext. |
Methods in java.awt.image.renderable with parameters of type Shape | |
void |
RenderContext.setAreaOfInterest(Shape newAoi)
Sets the current area of interest. |
Constructors in java.awt.image.renderable with parameters of type Shape | |
RenderContext(AffineTransform usr2dev,
Shape aoi,
RenderingHints hints)
Constructs a RenderContext with a given transform. |
|
RenderContext(AffineTransform usr2dev,
Shape aoi)
Constructs a RenderContext with a given transform and area of interest. |
Uses of Shape in javax.swing |
Methods in javax.swing that return Shape | |
Shape |
DebugGraphics.getClip()
Overrides Graphics.getClip . |
Methods in javax.swing with parameters of type Shape | |
void |
DebugGraphics.setClip(Shape clip)
Overrides Graphics.setClip . |
Uses of Shape in javax.swing.plaf.basic |
Classes in javax.swing.plaf.basic that implement Shape | |
static class |
BasicTextUI.BasicCaret
|
Uses of Shape in javax.swing.text |
Classes in javax.swing.text that implement Shape | |
class |
DefaultCaret
A default implementation of Caret. |
Methods in javax.swing.text that return Shape | |
Shape |
PasswordView.modelToView(int pos,
Shape a,
Position.Bias b)
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 a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
protected Shape |
FieldView.adjustAllocation(Shape a)
Adjusts the allocation given to the view to be a suitable allocation for a text field. |
Shape |
FieldView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Shape |
AsyncBoxView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
Shape |
AsyncBoxView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index,
Shape a)
Fetch the allocation to use for a child view. |
protected Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index)
Fetch the allocation to use for a child view. |
Shape |
IconView.modelToView(int pos,
Shape a,
Position.Bias b)
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 a,
Position.Bias b)
Provides a mapping from the coordinate space of the model to that of the view. |
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view)
|
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c,
View view)
Paints a portion of a highlight. |
Shape |
GlyphView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView v,
int pos,
Position.Bias bias,
Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Shape |
CompositeView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view to render into. |
Shape |
CompositeView.modelToView(int pos,
Shape a,
Position.Bias b)
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.Bias b0,
int p1,
Position.Bias b1,
Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Shape |
BoxView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
Shape |
BoxView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Shape |
View.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
abstract Shape |
View.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space. |
Shape |
View.modelToView(int p0,
Position.Bias b0,
int p1,
Position.Bias b1,
Shape a)
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space. |
Shape |
View.modelToView(int pos,
Shape a)
Deprecated. |
Methods in javax.swing.text with parameters of type Shape | |
void |
ZoneView.insertUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
ZoneView.removeUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
protected void |
TableView.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)
|
Shape |
PasswordView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
PasswordView.viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
PlainView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface. |
Shape |
PlainView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
PlainView.viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
PlainView.insertUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
PlainView.removeUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
PlainView.changedUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
protected void |
PlainView.updateDamage(DocumentEvent changes,
Shape a,
ViewFactory f)
|
protected void |
PlainView.damageLineRange(int line0,
int line1,
Shape a,
Component host)
Repaint the given line range. |
protected Rectangle |
PlainView.lineToRect(Shape a,
int line)
Determine the rectangle that represents the given line. |
protected Shape |
FieldView.adjustAllocation(Shape a)
Adjusts the allocation given to the view to be a suitable allocation for a text field. |
void |
FieldView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface. |
Shape |
FieldView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
FieldView.viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
FieldView.insertUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
FieldView.removeUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
protected void |
AsyncBoxView.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Update the layout in response to receiving notification of change from the model. |
void |
AsyncBoxView.paint(Graphics g,
Shape alloc)
Render the view using the given allocation and rendering surface. |
Shape |
AsyncBoxView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
Shape |
AsyncBoxView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
AsyncBoxView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
int |
AsyncBoxView.getNextVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret. |
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index,
Shape a)
Fetch the allocation to use for a child view. |
int |
AsyncBoxView.ChildLocator.getViewIndexAtPoint(float x,
float y,
Shape a)
Fetches the child view index at the given point. |
protected void |
AsyncBoxView.ChildLocator.setAllocation(Shape a)
Copy the currently allocated shape into the Rectangle used to store the current allocation. |
void |
IconView.paint(Graphics g,
Shape a)
Paints the icon. |
Shape |
IconView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
IconView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
ComponentView.paint(Graphics g,
Shape a)
The real paint behavior occurs naturally from the association that the component has with its parent container (the same container hosting this view). |
Shape |
ComponentView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the coordinate space of the model to that of the view. |
int |
ComponentView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
WrappedPlainView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface. |
void |
WrappedPlainView.insertUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
WrappedPlainView.removeUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
WrappedPlainView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
abstract void |
LayeredHighlighter.paintLayeredHighlights(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view)
When leaf Views (such as LabelView) are rendering they should call into this method. |
abstract 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)
When leaf Views (such as LabelView) are rendering they should call into this method. |
void |
DefaultHighlighter.DefaultHighlightPainter.paint(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c)
Paints a highlight. |
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c,
View view)
Paints a portion of a highlight. |
void |
LabelView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
void |
GlyphView.paint(Graphics g,
Shape a)
Renders a portion of a text style run. |
Shape |
GlyphView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
GlyphView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
int |
GlyphView.getNextVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret. |
void |
GlyphView.insertUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
GlyphView.removeUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
GlyphView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
abstract void |
GlyphView.GlyphPainter.paint(GlyphView v,
Graphics g,
Shape a,
int p0,
int p1)
Paint the glyphs representing the given range. |
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView v,
int pos,
Position.Bias bias,
Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView v,
float x,
float y,
Shape a,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v,
int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret. |
Shape |
CompositeView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view to render into. |
Shape |
CompositeView.modelToView(int pos,
Shape a,
Position.Bias b)
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.Bias b0,
int p1,
Position.Bias b1,
Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
CompositeView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
int |
CompositeView.getNextVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret. |
protected Rectangle |
CompositeView.getInsideAllocation(Shape a)
Translates the immutable allocation given to the view to a mutable allocation that represents the interior allocation (i.e. |
protected int |
CompositeView.getNextNorthSouthVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the north or south direction. |
protected int |
CompositeView.getNextEastWestVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction. |
protected void |
BoxView.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the given DocumentEvent to the child views
that need to be notified of the change to the model. |
void |
BoxView.paint(Graphics g,
Shape allocation)
Renders the BoxView using the given
rendering surface and area
on that surface. |
Shape |
BoxView.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
Shape |
BoxView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
BoxView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
FlowView.insertUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
FlowView.removeUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
FlowView.changedUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
protected int |
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction. |
protected int |
ParagraphView.getClosestPositionTo(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet,
int rowIndex,
int x)
Returns the closest model position to x . |
void |
ParagraphView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface. |
View |
ParagraphView.breakView(int axis,
float len,
Shape a)
Breaks this view on the given axis at the given length. |
void |
ParagraphView.changedUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
void |
Highlighter.HighlightPainter.paint(Graphics g,
int p0,
int p1,
Shape bounds,
JTextComponent c)
Renders the highlight. |
abstract void |
View.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that surface. |
Shape |
View.getChildAllocation(int index,
Shape a)
Fetches the allocation for the given child view. |
int |
View.getNextVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location at which one might place a caret. |
abstract Shape |
View.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space. |
Shape |
View.modelToView(int p0,
Position.Bias b0,
int p1,
Position.Bias b1,
Shape a)
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space. |
abstract int |
View.viewToModel(float x,
float y,
Shape a,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
View.insertUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
View.removeUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
View.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
String |
View.getToolTipText(float x,
float y,
Shape allocation)
Returns the tooltip text at the specified location. |
int |
View.getViewIndex(float x,
float y,
Shape allocation)
Returns the child view index representing the given position in the view. |
protected void |
View.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the given DocumentEvent to the child views
that need to be notified of the change to the model. |
protected void |
View.forwardUpdateToView(View v,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the DocumentEvent to the give child view. |
protected void |
View.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Updates the layout in response to receiving notification of change from the model. |
Shape |
View.modelToView(int pos,
Shape a)
Deprecated. |
int |
View.viewToModel(float x,
float y,
Shape a)
Deprecated. |
Uses of Shape in javax.swing.text.html |
Methods in javax.swing.text.html that return Shape | |
Shape |
ImageView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
Methods in javax.swing.text.html with parameters of type Shape | |
String |
ImageView.getToolTipText(float x,
float y,
Shape allocation)
For images the tooltip text comes from text specified with the ALT attribute. |
void |
ImageView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Invoked when the Elements attributes have changed. |
void |
ImageView.paint(Graphics g,
Shape a)
Paints the View. |
Shape |
ImageView.modelToView(int pos,
Shape a,
Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int |
ImageView.viewToModel(float x,
float y,
Shape a,
Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
void |
ListView.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that surface. |
void |
ParagraphView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface. |
void |
InlineView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
void |
BlockView.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that surface. |
void |
BlockView.changedUpdate(DocumentEvent changes,
Shape a,
ViewFactory f)
|
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.