| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static interface | Decoration.
This interface is implemented by clients that use Decoration. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Decoration | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Rectangle2D | |
| public static Decoration | |
| public static Decoration | getDecoration(Map<? extends AttributedCharacterIterator.
the Map used to determine the Decoration attributes)Return a Decoration appropriate for the given Map. |
| pack-priv Shape | |
| public static Decoration | |
| public Rectangle2D |
| PLAIN | back to summary |
|---|---|
| private static final Decoration PLAIN | |
| VALUES_MASK | back to summary |
|---|---|
| private static final int VALUES_MASK | |
| Decoration | back to summary |
|---|---|
| private Decoration() | |
| drawTextAndDecorations | back to summary |
|---|---|
| public void drawTextAndDecorations(Decoration. | |
| getCharVisualBounds | back to summary |
|---|---|
| public Rectangle2D getCharVisualBounds(Decoration. | |
| getDecoration | back to summary |
|---|---|
| public static Decoration getDecoration(AttributeValues values) | |
| getDecoration | back to summary |
|---|---|
| public static Decoration getDecoration(Map<? extends AttributedCharacterIterator. Return a Decoration appropriate for the given Map.
| |
| getOutline | back to summary |
|---|---|
| pack-priv Shape getOutline(Decoration. | |
| getPlainDecoration | back to summary |
|---|---|
| public static Decoration getPlainDecoration() Return a Decoration which does nothing. | |
| getVisualBounds | back to summary |
|---|---|
| public Rectangle2D getVisualBounds(Decoration. | |
| Modifier and Type | Field and Description |
|---|---|
| private Paint | |
| private Paint | |
| private Underline | |
| private Underline | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | DecorationImpl(Paint foreground, Paint background, boolean swapColors, boolean strikethrough, Underline stdUnderline, Underline imUnderline)
|
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public void | drawTextAndDecorations(Decoration.
Overrides sun.
|
| private void | |
| public boolean | equals(Object rhs)
Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv Shape | |
| private float | getUnderlineMaxY(CoreMetrics cm)
Return the bottom of the Rectangle which encloses pixels drawn by underlines. |
| public Rectangle2D | |
| public int | |
| public String |
| bgPaint | back to summary |
|---|---|
| private Paint bgPaint | |
| fgPaint | back to summary |
|---|---|
| private Paint fgPaint | |
| imUnderline | back to summary |
|---|---|
| private Underline imUnderline | |
| stdUnderline | back to summary |
|---|---|
| private Underline stdUnderline | |
| strikethrough | back to summary |
|---|---|
| private boolean strikethrough | |
| swapColors | back to summary |
|---|---|
| private boolean swapColors | |
| DecorationImpl | back to summary |
|---|---|
| pack-priv DecorationImpl(Paint foreground, Paint background, boolean swapColors, boolean strikethrough, Underline stdUnderline, Underline imUnderline) | |
| areEqual | back to summary |
|---|---|
| private static boolean areEqual(Object lhs, Object rhs) | |
| drawTextAndDecorations | back to summary |
|---|---|
| public void drawTextAndDecorations(Decoration. Overrides sun. | |
| drawTextAndEmbellishments | back to summary |
|---|---|
| private void drawTextAndEmbellishments(Decoration. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object rhs) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getOutline | back to summary |
|---|---|
| pack-priv Shape getOutline(Decoration. Overrides sun. | |
| getUnderlineMaxY | back to summary |
|---|---|
| private float getUnderlineMaxY(CoreMetrics cm) Return the bottom of the Rectangle which encloses pixels drawn by underlines. | |
| getVisualBounds | back to summary |
|---|---|
| public Rectangle2D getVisualBounds(Decoration. Overrides sun. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Method and Description |
|---|---|
| public CoreMetrics | |
| public Rectangle2D | |
| public void | |
| public Rectangle2D | |
| public Shape | |
| public Rectangle2D |
| getCoreMetrics | back to summary |
|---|---|
| public CoreMetrics getCoreMetrics() | |
| getLogicalBounds | back to summary |
|---|---|
| public Rectangle2D getLogicalBounds() | |
| handleDraw | back to summary |
|---|---|
| public void handleDraw(Graphics2D g2d, float x, float y) | |
| handleGetCharVisualBounds | back to summary |
|---|---|
| public Rectangle2D handleGetCharVisualBounds(int index) | |
| handleGetOutline | back to summary |
|---|---|
| public Shape handleGetOutline(float x, float y) | |
| handleGetVisualBounds | back to summary |
|---|---|
| public Rectangle2D handleGetVisualBounds() | |