Uses of Interface
java.awt.Shape
Packages that use Shape
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes and interface relating to fonts.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes and interfaces for producing rendering-independent images.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.-
Uses of Shape in java.awt
Modifier and TypeClassDescriptionclassThePolygonclass encapsulates a description of a closed, two-dimensional region within a coordinate space.classARectanglespecifies an area in a coordinate space that is enclosed by theRectangleobject's upper-left point(x,y)in the coordinate space, its width, and its height.Modifier and TypeMethodDescriptionBasicStroke.createStrokedShape(Shape s) Returns aShapewhose interior defines the stroked outline of a specifiedShape.Stroke.createStrokedShape(Shape p) Returns an outlineShapewhich encloses the area that should be painted when theShapeis stroked according to the rules defined by the object implementing theStrokeinterface.abstract ShapeGraphics.getClip()Gets the current clipping area.Window.getShape()Returns the shape of the window.Modifier and TypeMethodDescriptionabstract voidIntersects the currentClipwith the interior of the specifiedShapeand sets theClipto the resulting intersection.BasicStroke.createStrokedShape(Shape s) Returns aShapewhose interior defines the stroked outline of a specifiedShape.Stroke.createStrokedShape(Shape p) Returns an outlineShapewhich encloses the area that should be painted when theShapeis stroked according to the rules defined by the object implementing theStrokeinterface.abstract voidStrokes the outline of aShapeusing the settings of the currentGraphics2Dcontext.abstract voidFills the interior of aShapeusing the settings of theGraphics2Dcontext.abstract booleanChecks whether or not the specifiedShapeintersects the specifiedRectangle, which is in device space.abstract voidSets the current clipping area to an arbitrary clip shape.voidComponent.setMixingCutoutShape(Shape shape) Sets a 'mixing-cutout' shape for this lightweight component.voidSets the shape of the window. -
Uses of Shape in java.awt.font
Methods in java.awt.font that return ShapeModifier and TypeMethodDescriptionTextLayout.getBlackBoxBounds(int firstEndpoint, int secondEndpoint) Returns the black box bounds of the characters in the specified range.TextLayout.getCaretShape(TextHitInfo hit) Returns aShaperepresenting the caret at the specified hit inside the natural bounds of thisTextLayout.TextLayout.getCaretShape(TextHitInfo hit, Rectangle2D bounds) Returns aShaperepresenting 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 bounds) Returns two paths corresponding to the strong and weak caret.Shape[]TextLayout.getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy) Returns two paths corresponding to the strong and weak caret.abstract ShapeGlyphVector.getGlyphLogicalBounds(int glyphIndex) Returns the logical bounds of the specified glyph within thisGlyphVector.abstract ShapeGlyphVector.getGlyphOutline(int glyphIndex) Returns aShapewhose interior corresponds to the visual representation of the specified glyph within thisGlyphVector.GlyphVector.getGlyphOutline(int glyphIndex, float x, float y) Returns aShapewhose interior corresponds to the visual representation of the specified glyph within thisGlyphVector, offset to x, y.abstract ShapeGlyphVector.getGlyphVisualBounds(int glyphIndex) Returns the visual bounds of the specified glyph within theGlyphVector.TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint) Returns aShapeenclosing the logical selection in the specified range, extended to the natural bounds of thisTextLayout.TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds) Returns aShapeenclosing the logical selection in the specified range, extended to the specifiedbounds.abstract ShapeGlyphVector.getOutline()Returns aShapewhose interior corresponds to the visual representation of thisGlyphVector.abstract ShapeGlyphVector.getOutline(float x, float y) Returns aShapewhose interior corresponds to the visual representation of thisGlyphVectorwhen rendered at x, y.GraphicAttribute.getOutline(AffineTransform tx) Return aShapethat represents the region that thisGraphicAttributerenders.ShapeGraphicAttribute.getOutline(AffineTransform tx) Return aShapethat represents the region that thisShapeGraphicAttributerenders.TextLayout.getOutline(AffineTransform tx) Returns aShaperepresenting the outline of thisTextLayout.TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint) Returns aShapeenclosing the visual selection in the specified range, extended to the bounds.TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds) Returns a path enclosing the visual selection in the specified range, extended tobounds.Constructors in java.awt.font with parameters of type ShapeModifierConstructorDescriptionShapeGraphicAttribute(Shape shape, int alignment, boolean stroke) Constructs aShapeGraphicAttributefor the specifiedShape. -
Uses of Shape in java.awt.geom
Classes in java.awt.geom that implement ShapeModifier and TypeClassDescriptionclassArc2Dis 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, orPIE).static classThis class defines an arc specified indoubleprecision.static classThis class defines an arc specified infloatprecision.classAnAreaobject stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.classTheCubicCurve2Dclass defines a cubic parametric curve segment in(x,y)coordinate space.static classA cubic parametric curve segment specified withdoublecoordinates.static classA cubic parametric curve segment specified withfloatcoordinates.classTheEllipse2Dclass describes an ellipse that is defined by a framing rectangle.static classTheDoubleclass defines an ellipse specified indoubleprecision.static classTheFloatclass defines an ellipse specified infloatprecision.final classTheGeneralPathclass represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.classThisLine2Drepresents a line segment in(x,y)coordinate space.static classA line segment specified with double coordinates.static classA line segment specified with float coordinates.classThePath2Dclass provides a simple, yet flexible shape which represents an arbitrary geometric path.static classTheDoubleclass defines a geometric path with coordinates stored in double precision floating point.static classTheFloatclass defines a geometric path with coordinates stored in single precision floating point.classTheQuadCurve2Dclass defines a quadratic parametric curve segment in(x,y)coordinate space.static classA quadratic parametric curve segment specified withdoublecoordinates.static classA quadratic parametric curve segment specified withfloatcoordinates.classTheRectangle2Dclass describes a rectangle defined by a location(x,y)and dimension(w x h).static classTheDoubleclass defines a rectangle specified in double coordinates.static classTheFloatclass defines a rectangle specified in float coordinates.classRectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame.classTheRoundRectangle2Dclass 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 classTheDoubleclass defines a rectangle with rounded corners all specified indoublecoordinates.static classTheFloatclass defines a rectangle with rounded corners all specified infloatcoordinates.Methods in java.awt.geom that return ShapeModifier and TypeMethodDescriptionAffineTransform.createTransformedShape(Shape pSrc) Returns a newShapeobject defined by the geometry of the specifiedShapeafter it has been transformed by this transform.final ShapePath2D.createTransformedShape(AffineTransform at) Returns a newShaperepresenting a transformed version of thisPath2D.Methods in java.awt.geom with parameters of type ShapeModifier and TypeMethodDescriptionfinal voidAppends the geometry of the specifiedShapeobject to the path, possibly connecting the new geometry to the existing path segments with a line segment.AffineTransform.createTransformedShape(Shape pSrc) Returns a newShapeobject defined by the geometry of the specifiedShapeafter it has been transformed by this transform.Constructors in java.awt.geom with parameters of type ShapeModifierConstructorDescriptionTheAreaclass creates an area geometry from the specifiedShapeobject.Constructs a new double precisionPath2Dobject from an arbitraryShapeobject.Double(Shape s, AffineTransform at) Constructs a new double precisionPath2Dobject from an arbitraryShapeobject, transformed by anAffineTransformobject.Constructs a new single precisionPath2Dobject from an arbitraryShapeobject.Float(Shape s, AffineTransform at) Constructs a new single precisionPath2Dobject from an arbitraryShapeobject, transformed by anAffineTransformobject.GeneralPath(Shape s) Constructs a newGeneralPathobject from an arbitraryShapeobject. -
Uses of Shape in java.awt.image.renderable
Methods in java.awt.image.renderable that return ShapeModifier and TypeMethodDescriptionRenderContext.getAreaOfInterest()Gets the ares of interest currently contained in the RenderContext.Methods in java.awt.image.renderable with parameters of type ShapeModifier and TypeMethodDescriptionvoidRenderContext.setAreaOfInterest(Shape newAoi) Sets the current area of interest.Constructors in java.awt.image.renderable with parameters of type ShapeModifierConstructorDescriptionRenderContext(AffineTransform usr2dev, Shape aoi) Constructs a RenderContext with a given transform and area of interest.RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints) Constructs a RenderContext with a given transform. -
Uses of Shape in javax.swing
Methods in javax.swing that return ShapeMethods in javax.swing with parameters of type Shape -
Uses of Shape in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement ShapeModifier and TypeClassDescriptionstatic classDefault implementation of the interfaceCaret. -
Uses of Shape in javax.swing.text
Classes in javax.swing.text that implement ShapeMethods in javax.swing.text that return ShapeModifier and TypeMethodDescriptionprotected ShapeFieldView.adjustAllocation(Shape a) Adjusts the allocation given to the view to be a suitable allocation for a text field.protected ShapeAsyncBoxView.ChildLocator.getChildAllocation(int index) Fetch the allocation to use for a child view.AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape a) Fetch the allocation to use for a child view.AsyncBoxView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.BoxView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.CompositeView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view to render into.View.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.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.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.ComponentView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the coordinate space of the model to that of the view.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.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.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.abstract ShapeGlyphView.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.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.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.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.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.View.modelToView(int pos, Shape a) Deprecated.abstract ShapeView.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.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.DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) Paints a portion of a highlight.abstract ShapeLayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) Paints a portion of a highlight.Methods in javax.swing.text with parameters of type ShapeModifier and TypeMethodDescriptionprotected ShapeFieldView.adjustAllocation(Shape a) Adjusts the allocation given to the view to be a suitable allocation for a text field.Breaks this view on the given axis at the given length.voidFlowView.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.voidGlyphView.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.voidLabelView.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.voidParagraphView.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.voidPlainView.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.voidView.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.voidWrappedPlainView.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.protected voidPlainView.damageLineRange(int line0, int line1, Shape a, Component host) Repaint the given line range.protected voidBoxView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) Forwards the givenDocumentEventto the child views that need to be notified of the change to the model.protected voidView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) Forwards the givenDocumentEventto the child views that need to be notified of the change to the model.protected voidView.forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f) Forwards theDocumentEventto the give child view.AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape a) Fetch the allocation to use for a child view.AsyncBoxView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.BoxView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.CompositeView.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view to render into.View.getChildAllocation(int index, Shape a) Fetches the allocation for the given child view.protected intParagraphView.getClosestPositionTo(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x) Returns the closest model position tox.protected RectangleCompositeView.getInsideAllocation(Shape a) Translates the immutable allocation given to the view to a mutable allocation that represents the interior allocation (i.e. the bounds of the given allocation with the top, left, bottom, and right insets removed.protected intCompositeView.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 intCompositeView.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 intParagraphView.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.intAsyncBoxView.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.intCompositeView.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.intGlyphView.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.intGlyphView.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.intView.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.View.getToolTipText(float x, float y, Shape allocation) Returns the tooltip text at the specified location.intView.getViewIndex(float x, float y, Shape allocation) Returns the child view index representing the given position in the view.intAsyncBoxView.ChildLocator.getViewIndexAtPoint(float x, float y, Shape a) Fetches the child view index at the given point.voidFieldView.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.voidFlowView.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.voidGlyphView.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.voidPlainView.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.voidView.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.voidWrappedPlainView.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.voidZoneView.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.protected RectanglePlainView.lineToRect(Shape a, int line) Determine the rectangle that represents the given line.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.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.ComponentView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the coordinate space of the model to that of the view.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.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.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.abstract ShapeGlyphView.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.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.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.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.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.View.modelToView(int pos, Shape a) Deprecated.abstract ShapeView.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.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.voidRender the view using the given allocation and rendering surface.voidRenders theBoxViewusing the given rendering surface and area on that surface.voidThe real paint behavior occurs naturally from the association that the component has with its parent container (the same container hosting this view).voidDefaultHighlighter.DefaultHighlightPainter.paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) Paints a highlight.voidRenders using the given rendering surface and area on that surface.abstract voidPaint the glyphs representing the given range.voidRenders a portion of a text style run.voidHighlighter.HighlightPainter.paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) Renders the highlight.voidPaints the icon.voidRenders using the given rendering surface and area on that surface.voidRenders using the given rendering surface and area on that surface.abstract voidRenders using the given rendering surface and area on that surface.voidRenders using the given rendering surface and area on that surface.DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) Paints a portion of a highlight.abstract ShapeLayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) Paints a portion of a highlight.voidDefaultHighlighter.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 voidLayeredHighlighter.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.voidFieldView.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.voidFlowView.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.voidGlyphView.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.voidPlainView.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.voidView.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.voidWrappedPlainView.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.voidZoneView.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 voidAsyncBoxView.ChildLocator.setAllocation(Shape a) Copy the currently allocated shape into the Rectangle used to store the current allocation.protected voidPlainView.updateDamage(DocumentEvent changes, Shape a, ViewFactory f) Repaint the region of change covered by the given document event.protected voidAsyncBoxView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) Update the layout in response to receiving notification of change from the model.protected voidView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) Updates the layout in response to receiving notification of change from the model.intAsyncBoxView.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.intBoxView.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.intComponentView.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.intCompositeView.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.intFieldView.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.abstract intGlyphView.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.intGlyphView.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.intIconView.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.intPasswordView.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.intPlainView.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.intView.viewToModel(float x, float y, Shape a) Deprecated.abstract intView.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. -
Uses of Shape in javax.swing.text.html
Methods in javax.swing.text.html that return ShapeModifier and TypeMethodDescriptionImageView.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 ShapeModifier and TypeMethodDescriptionvoidImageView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f) Invoked when the Elements attributes have changed.voidInlineView.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.ImageView.getToolTipText(float x, float y, Shape allocation) For images the tooltip text comes from text specified with theALTattribute.voidInlineView.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.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.voidRenders using the given rendering surface and area on that surface.voidPaints the View.voidRenders using the given rendering surface and area on that surface.voidRenders using the given rendering surface and area on that surface.voidInlineView.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.intImageView.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.