Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.swing.text.GlyphView

Packages that use GlyphView
Package Description
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 GlyphView in javax.swing.text
 

Subclasses of GlyphView in javax.swing.text
Modifier and Type Class and Description
 class LabelView
          A LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
 

Methods in javax.swing.text with parameters of type GlyphView
Modifier and Type Method and Description
abstract  float GlyphView.GlyphPainter.getAscent(GlyphView v)
           
abstract  int GlyphView.GlyphPainter.getBoundedPosition(GlyphView v, int p0, float x, float len)
          Determines the model location that represents the maximum advance that fits within the given span.
abstract  float GlyphView.GlyphPainter.getDescent(GlyphView v)
           
abstract  float GlyphView.GlyphPainter.getHeight(GlyphView v)
           
 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.
 GlyphView.GlyphPainter GlyphView.GlyphPainter.getPainter(GlyphView v, int p0, int p1)
          Create a painter to use for the given GlyphView.
abstract  float GlyphView.GlyphPainter.getSpan(GlyphView v, int p0, int p1, TabExpander e, float x)
          Determine the span the glyphs given a start location (for tab expansion).
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  void GlyphView.GlyphPainter.paint(GlyphView v, Graphics g, Shape a, int p0, int p1)
          Paint the glyphs representing the given range.
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.
 

Uses of GlyphView in javax.swing.text.html
 

Subclasses of GlyphView in javax.swing.text.html
Modifier and Type Class and Description
 class InlineView
          Displays the inline element styles based upon css attributes.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.