| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final float | |
| private static final boolean | |
| private static final Underline[] | |
| private static final ConcurrentHashMap | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y)
Draws the underline into g2d. |
| pack-priv abstract float | |
| pack-priv static Underline | getUnderline(Object value)
Return the Underline for the given value of TextAttribute.INPUT_METHOD_UNDERLINE or TextAttribute.UNDERLINE. |
| pack-priv static Underline | |
| pack-priv abstract Shape | getUnderlineShape(float thickness, float x1, float x2, float y)
Returns a Shape representing the underline. |
| DEFAULT_THICKNESS | back to summary |
|---|---|
| private static final float DEFAULT_THICKNESS | |
| IGNORE_THICKNESS | back to summary |
|---|---|
| private static final boolean IGNORE_THICKNESS | |
| UNDERLINE_LIST | back to summary |
|---|---|
| private static final Underline[] UNDERLINE_LIST | |
| UNDERLINES | back to summary |
|---|---|
| private static final ConcurrentHashMap<Object, Underline> UNDERLINES | |
| USE_THICKNESS | back to summary |
|---|---|
| private static final boolean USE_THICKNESS | |
| Underline | back to summary |
|---|---|
| pack-priv Underline() | |
| drawUnderline | back to summary |
|---|---|
| pack-priv abstract void drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) Draws the underline into g2d. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. The underline is drawn from (x1, y) to (x2, y). | |
| getLowerDrawLimit | back to summary |
|---|---|
| pack-priv abstract float getLowerDrawLimit(float thickness) Returns the bottom of the bounding rectangle for this underline. | |
| getUnderline | back to summary |
|---|---|
| pack-priv static Underline getUnderline(Object value) Return the Underline for the given value of TextAttribute.INPUT_METHOD_UNDERLINE or TextAttribute.UNDERLINE. If value is not an input method underline value or TextAttribute.UNDERLINE_ON, null is returned. | |
| getUnderline | back to summary |
|---|---|
| pack-priv static Underline getUnderline(int index) | |
| getUnderlineShape | back to summary |
|---|---|
| pack-priv abstract Shape getUnderlineShape(float thickness, float x1, float x2, float y) Returns a Shape representing the underline. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. | |
| Modifier and Type | Field and Description |
|---|---|
| private BasicStroke |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y)
Implements abstract sun. Draws the underline into g2d. |
| pack-priv float | getLowerDrawLimit(float thickness)
Implements abstract sun. Returns the bottom of the bounding rectangle for this underline. |
| pack-priv Shape | getUnderlineShape(float thickness, float x1, float x2, float y)
Implements abstract sun. Returns a Shape representing the underline. |
| stroke | back to summary |
|---|---|
| private BasicStroke stroke | |
| IMGrayUnderline | back to summary |
|---|---|
| pack-priv IMGrayUnderline() | |
| drawUnderline | back to summary |
|---|---|
| pack-priv void drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) Implements abstract sun. Doc from sun. Draws the underline into g2d. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. The underline is drawn from (x1, y) to (x2, y). | |
| getLowerDrawLimit | back to summary |
|---|---|
| pack-priv float getLowerDrawLimit(float thickness) Implements abstract sun. Doc from sun. Returns the bottom of the bounding rectangle for this underline. | |
| getUnderlineShape | back to summary |
|---|---|
| pack-priv Shape getUnderlineShape(float thickness, float x1, float x2, float y) Implements abstract sun. Doc from sun. Returns a Shape representing the underline. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. | |
| Modifier and Type | Field and Description |
|---|---|
| private BasicStroke | |
| private float[] | |
| private float | |
| private float | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | StandardUnderline(float shift, float thicknessMultiplier, float[] dashPattern, boolean useThickness)
|
| Modifier and Type | Method and Description |
|---|---|
| private BasicStroke | |
| pack-priv void | drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y)
Implements abstract sun. Draws the underline into g2d. |
| private float | |
| pack-priv float | getLowerDrawLimit(float thickness)
Implements abstract sun. Returns the bottom of the bounding rectangle for this underline. |
| private Stroke | |
| pack-priv Shape | getUnderlineShape(float thickness, float x1, float x2, float y)
Implements abstract sun. Returns a Shape representing the underline. |
| cachedStroke | back to summary |
|---|---|
| private BasicStroke cachedStroke | |
| dashPattern | back to summary |
|---|---|
| private float[] dashPattern | |
| shift | back to summary |
|---|---|
| private float shift | |
| thicknessMultiplier | back to summary |
|---|---|
| private float thicknessMultiplier | |
| useThickness | back to summary |
|---|---|
| private boolean useThickness | |
| StandardUnderline | back to summary |
|---|---|
| pack-priv StandardUnderline(float shift, float thicknessMultiplier, float[] dashPattern, boolean useThickness) | |
| createStroke | back to summary |
|---|---|
| private BasicStroke createStroke(float lineThickness) | |
| drawUnderline | back to summary |
|---|---|
| pack-priv void drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) Implements abstract sun. Doc from sun. Draws the underline into g2d. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. The underline is drawn from (x1, y) to (x2, y). | |
| getLineThickness | back to summary |
|---|---|
| private float getLineThickness(float thickness) | |
| getLowerDrawLimit | back to summary |
|---|---|
| pack-priv float getLowerDrawLimit(float thickness) Implements abstract sun. Doc from sun. Returns the bottom of the bounding rectangle for this underline. | |
| getStroke | back to summary |
|---|---|
| private Stroke getStroke(float thickness) | |
| getUnderlineShape | back to summary |
|---|---|
| pack-priv Shape getUnderlineShape(float thickness, float x1, float x2, float y) Implements abstract sun. Doc from sun. Returns a Shape representing the underline. The thickness should be obtained from a LineMetrics object. Note that some underlines ignore the thickness parameter. | |