Uses of Interface
java.awt.Shape
-
Packages that use Shape 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 classHTMLEditorKitand supporting classes for creating HTML text editors. -
-
Uses of Shape in java.awt
Classes in java.awt that implement Shape Modifier and Type Class Description classPolygonThePolygonclass encapsulates a description of a closed, two-dimensional region within a coordinate space.classRectangleARectanglespecifies 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.Methods in java.awt that return Shape Modifier and Type Method Description ShapeBasicStroke. createStrokedShape(Shape s)Returns aShapewhose interior defines the stroked outline of a specifiedShape.ShapeStroke. 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.ShapeWindow. getShape()Returns the shape of the window.Methods in java.awt with parameters of type Shape Modifier and Type Method Description abstract voidGraphics2D. clip(Shape s)Intersects the currentClipwith the interior of the specifiedShapeand sets theClipto the resulting intersection.ShapeBasicStroke. createStrokedShape(Shape s)Returns aShapewhose interior defines the stroked outline of a specifiedShape.ShapeStroke. 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 voidGraphics2D. draw(Shape s)Strokes the outline of aShapeusing the settings of the currentGraphics2Dcontext.abstract voidGraphics2D. fill(Shape s)Fills the interior of aShapeusing the settings of theGraphics2Dcontext.abstract booleanGraphics2D. hit(Rectangle rect, Shape s, boolean onStroke)Checks whether or not the specifiedShapeintersects the specifiedRectangle, which is in device space.abstract voidGraphics. setClip(Shape clip)Sets the current clipping area to an arbitrary clip shape.voidComponent. setMixingCutoutShape(Shape shape)Sets a 'mixing-cutout' shape for this lightweight component.voidWindow. setShape(Shape shape)Sets the shape of the window. -
Uses of Shape in java.awt.font
Methods in java.awt.font that return Shape Modifier and Type Method Description ShapeTextLayout. getBlackBoxBounds(int firstEndpoint, int secondEndpoint)Returns the black box bounds of the characters in the specified range.ShapeTextLayout. getCaretShape(TextHitInfo hit)Returns aShaperepresenting the caret at the specified hit inside the natural bounds of thisTextLayout.ShapeTextLayout. 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.ShapeGlyphVector. 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.ShapeTextLayout. getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)Returns aShapeenclosing the logical selection in the specified range, extended to the natural bounds of thisTextLayout.ShapeTextLayout. 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.ShapeGraphicAttribute. getOutline(AffineTransform tx)Return aShapethat represents the region that thisGraphicAttributerenders.ShapeShapeGraphicAttribute. getOutline(AffineTransform tx)Return aShapethat represents the region that thisShapeGraphicAttributerenders.ShapeTextLayout. getOutline(AffineTransform tx)Returns aShaperepresenting the outline of thisTextLayout.ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)Returns aShapeenclosing the visual selection in the specified range, extended to the bounds.ShapeTextLayout. 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 Shape Constructor Description ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)Constructs aShapeGraphicAttributefor the specifiedShape. -
Uses of Shape in java.awt.geom
Classes in java.awt.geom that implement Shape Modifier and Type Class Description classArc2DArc2Dis 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 classArc2D.DoubleThis class defines an arc specified indoubleprecision.static classArc2D.FloatThis class defines an arc specified infloatprecision.classAreaAnAreaobject stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.classCubicCurve2DTheCubicCurve2Dclass defines a cubic parametric curve segment in(x,y)coordinate space.static classCubicCurve2D.DoubleA cubic parametric curve segment specified withdoublecoordinates.static classCubicCurve2D.FloatA cubic parametric curve segment specified withfloatcoordinates.classEllipse2DTheEllipse2Dclass describes an ellipse that is defined by a framing rectangle.static classEllipse2D.DoubleTheDoubleclass defines an ellipse specified indoubleprecision.static classEllipse2D.FloatTheFloatclass defines an ellipse specified infloatprecision.classGeneralPathTheGeneralPathclass represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.classLine2DThisLine2Drepresents a line segment in(x,y)coordinate space.static classLine2D.DoubleA line segment specified with double coordinates.static classLine2D.FloatA line segment specified with float coordinates.classPath2DThePath2Dclass provides a simple, yet flexible shape which represents an arbitrary geometric path.static classPath2D.DoubleTheDoubleclass defines a geometric path with coordinates stored in double precision floating point.static classPath2D.FloatTheFloatclass defines a geometric path with coordinates stored in single precision floating point.classQuadCurve2DTheQuadCurve2Dclass defines a quadratic parametric curve segment in(x,y)coordinate space.static classQuadCurve2D.DoubleA quadratic parametric curve segment specified withdoublecoordinates.static classQuadCurve2D.FloatA quadratic parametric curve segment specified withfloatcoordinates.classRectangle2DTheRectangle2Dclass describes a rectangle defined by a location(x,y)and dimension(w x h).static classRectangle2D.DoubleTheDoubleclass defines a rectangle specified in double coordinates.static classRectangle2D.FloatTheFloatclass defines a rectangle specified in float coordinates.classRectangularShapeRectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame.classRoundRectangle2DTheRoundRectangle2Dclass 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 classRoundRectangle2D.DoubleTheDoubleclass defines a rectangle with rounded corners all specified indoublecoordinates.static classRoundRectangle2D.FloatTheFloatclass defines a rectangle with rounded corners all specified infloatcoordinates.Methods in java.awt.geom that return Shape Modifier and Type Method Description ShapeAffineTransform. createTransformedShape(Shape pSrc)Returns a newShapeobject defined by the geometry of the specifiedShapeafter it has been transformed by this transform.ShapePath2D. createTransformedShape(AffineTransform at)Returns a newShaperepresenting a transformed version of thisPath2D.Methods in java.awt.geom with parameters of type Shape Modifier and Type Method Description voidPath2D. append(Shape s, boolean connect)Appends the geometry of the specifiedShapeobject to the path, possibly connecting the new geometry to the existing path segments with a line segment.ShapeAffineTransform. 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 Shape Constructor Description Area(Shape s)TheAreaclass creates an area geometry from the specifiedShapeobject.Double(Shape s)Constructs a new double precisionPath2Dobject from an arbitraryShapeobject.Double(Shape s, AffineTransform at)Constructs a new double precisionPath2Dobject from an arbitraryShapeobject, transformed by anAffineTransformobject.Float(Shape s)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 Shape Modifier and Type Method Description ShapeRenderContext. getAreaOfInterest()Gets the ares of interest currently contained in the RenderContext.Methods in java.awt.image.renderable with parameters of type Shape Modifier and Type Method Description voidRenderContext. setAreaOfInterest(Shape newAoi)Sets the current area of interest.Constructors in java.awt.image.renderable with parameters of type Shape Constructor Description RenderContext(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 Shape Modifier and Type Method Description ShapeDebugGraphics. getClip()OverridesGraphics.getClip.Methods in javax.swing with parameters of type Shape Modifier and Type Method Description voidDebugGraphics. setClip(Shape clip)OverridesGraphics.setClip. -
Uses of Shape in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement Shape Modifier and Type Class Description static classBasicTextUI.BasicCaretDefault implementation of the interfaceCaret. -
Uses of Shape in javax.swing.text
Classes in javax.swing.text that implement Shape Modifier and Type Class Description classDefaultCaretA default implementation of Caret.Methods in javax.swing.text that return Shape Modifier and Type Method Description protected 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.ShapeAsyncBoxView.ChildLocator. getChildAllocation(int index, Shape a)Fetch the allocation to use for a child view.ShapeAsyncBoxView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view.ShapeBoxView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view.ShapeCompositeView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view to render into.ShapeView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view.ShapeAsyncBoxView. 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.ShapeBoxView. 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.ShapeComponentView. modelToView(int pos, Shape a, Position.Bias b)Provides a mapping from the coordinate space of the model to that of the view.ShapeCompositeView. 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.ShapeCompositeView. 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.ShapeFieldView. 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.ShapeGlyphView. 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.ShapeIconView. 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.ShapePasswordView. 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.ShapePlainView. 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.ShapeView. 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.ShapeView. 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.ShapeDefaultHighlighter.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)Methods in javax.swing.text with parameters of type Shape Modifier and Type Method Description protected ShapeFieldView. adjustAllocation(Shape a)Adjusts the allocation given to the view to be a suitable allocation for a text field.ViewParagraphView. breakView(int axis, float len, Shape a)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.ShapeAsyncBoxView.ChildLocator. getChildAllocation(int index, Shape a)Fetch the allocation to use for a child view.ShapeAsyncBoxView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view.ShapeBoxView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view.ShapeCompositeView. getChildAllocation(int index, Shape a)Fetches the allocation for the given child view to render into.ShapeView. 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.StringView. 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.ShapeAsyncBoxView. 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.ShapeBoxView. 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.ShapeComponentView. modelToView(int pos, Shape a, Position.Bias b)Provides a mapping from the coordinate space of the model to that of the view.ShapeCompositeView. 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.ShapeCompositeView. 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.ShapeFieldView. 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.ShapeGlyphView. 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.ShapeIconView. 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.ShapePasswordView. 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.ShapePlainView. 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.ShapeView. 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.ShapeView. 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.voidAsyncBoxView. paint(Graphics g, Shape alloc)Render the view using the given allocation and rendering surface.voidBoxView. paint(Graphics g, Shape allocation)Renders theBoxViewusing the given rendering surface and area on that surface.voidComponentView. 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).voidDefaultHighlighter.DefaultHighlightPainter. paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)Paints a highlight.voidFieldView. paint(Graphics g, Shape a)Renders using the given rendering surface and area on that surface.abstract voidGlyphView.GlyphPainter. paint(GlyphView v, Graphics g, Shape a, int p0, int p1)Paint the glyphs representing the given range.voidGlyphView. paint(Graphics g, Shape a)Renders a portion of a text style run.voidHighlighter.HighlightPainter. paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)Renders the highlight.voidIconView. paint(Graphics g, Shape a)Paints the icon.voidParagraphView. paint(Graphics g, Shape a)Renders using the given rendering surface and area on that surface.voidPlainView. paint(Graphics g, Shape a)Renders using the given rendering surface and area on that surface.abstract voidView. paint(Graphics g, Shape allocation)Renders using the given rendering surface and area on that surface.voidWrappedPlainView. paint(Graphics g, Shape a)Renders using the given rendering surface and area on that surface.ShapeDefaultHighlighter.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)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 Shape Modifier and Type Method Description ShapeImageView. 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 Modifier and Type Method Description voidImageView. 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.StringImageView. 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.ShapeImageView. 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.voidBlockView. paint(Graphics g, Shape allocation)Renders using the given rendering surface and area on that surface.voidImageView. paint(Graphics g, Shape a)Paints the View.voidListView. paint(Graphics g, Shape allocation)Renders using the given rendering surface and area on that surface.voidParagraphView. paint(Graphics g, Shape a)Renders 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.
-