Searched refs:GlyphView (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/test/javax/swing/text/WrappedPlainView/6857057/
H A Dbug6857057.java34 import javax.swing.text.GlyphView;
41 GlyphView view = new GlyphView(elem);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DGlyphPainter1.java49 * @see GlyphView
51 class GlyphPainter1 extends GlyphView.GlyphPainter {
57 public float getSpan(GlyphView v, int p0, int p1,
68 public float getHeight(GlyphView v) {
77 public float getAscent(GlyphView v) {
86 public float getDescent(GlyphView v) {
94 public void paint(GlyphView v, Graphics g, Shape a, int p0, int p1) {
124 public Shape modelToView(GlyphView v, int pos, Position.Bias bias,
166 public int viewToModel(GlyphView v, float x, float y, Shape a,
208 public int getBoundedPosition(GlyphView
[all...]
H A DGlyphPainter2.java49 * @see GlyphView
51 class GlyphPainter2 extends GlyphView.GlyphPainter {
58 * Create a painter to use for the given GlyphView.
60 public GlyphView.GlyphPainter getPainter(GlyphView v, int p0, int p1) {
70 public float getSpan(GlyphView v, int p0, int p1,
89 public float getHeight(GlyphView v) {
97 public float getAscent(GlyphView v) {
105 public float getDescent(GlyphView v) {
115 public void paint(GlyphView
[all...]
H A DTextLayoutStrategy.java41 * GlyphView and can be rendered by TextLayout, a GlyphPainter
42 * that uses TextLayout is plugged into the GlyphView.
200 if ((frag instanceof GlyphView) && (measurer != null)) {
209 Segment s = ((GlyphView)frag).getText(p0, p1);
219 ((GlyphView)frag).setGlyphPainter(new GlyphPainter2(tl));
253 if (v instanceof GlyphView) {
254 Segment s = ((GlyphView)v).getText(startOffset, endOffset);
319 if( child instanceof GlyphView ) {
326 ((GlyphView)child).setGlyphPainter(new GlyphPainter2(layout));
342 * the GlyphView attribute
[all...]
H A DGlyphView.java38 * A GlyphView is a styled chunk of text that represents a view
65 public class GlyphView extends View implements TabableView, Cloneable { class in inherits:View,TabableView,Cloneable
72 public GlyphView(Element elem) { method in class:GlyphView
137 throw new StateInvariantError("GlyphView: Stale view: " + bl);
269 throw new StateInvariantError("GlyphView: Can't load glyph painter: "
765 GlyphView v = (GlyphView) createFragment(p0, p1);
868 GlyphView v = (GlyphView) clone();
967 * Class to hold data needed to justify this GlyphView i
[all...]
H A DLabelView.java38 public class LabelView extends GlyphView implements TabableView {
H A DParagraphView.java1068 if (view instanceof GlyphView) {
1069 GlyphView.JustificationInfo justificationInfo =
1070 ((GlyphView) view).getJustificationInfo(rowStartOffset);
H A DUtilities.java908 * Paints the composed text in a GlyphView
910 static void paintComposedText(Graphics g, Rectangle alloc, GlyphView v) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextAreaUI.java338 View v = new GlyphView(elem);
H A DBasicTextFieldUI.java99 return new GlyphView(elem);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJEditorPane.java2207 View v = new GlyphView(elem);
2217 //((GlyphView)v).setGlyphPainter(null);

Completed in 1802 milliseconds