Java Sun >
Guidelines Home Page >  Java Look and Feel Design Guidelines
>
Part IV: Backmatter
> B: Graphics Repository >
Text
  Previous Next Contents/Index/Search


Text

This section presents graphics for the alignment and justification of textual objects as well as the use of type styles for text.

Text Alignment and Justification

These graphics represent the alignment of text objects. For the alignment of graphical objects, see Aligning Objects.

Align Center

 


Graphics Small Align Center graphic Large Align Center graphic
Description Places the selected text in the middle of the specified unit
Name Align Center
Tool Tip Align Center
Shortcut Ctrl-E
Mnemonic C, N, T, R
File Name .../text/AlignCenter16.gif
.../text/AlignCenter24.gif
Other Notes An example of the unit specified in the description is a line or paragraph. Use this graphic only for text. The generic Align Center graphic might be more appropriate for other uses. See Align Center for details.





Justify

 


Graphics Small Justify graphic Large Justify graphic
Description Spaces selected lines of text to come out evenly at both margins, including the last line (called "forced justify")
Name Justify
Tool Tip Justify
Mnemonic J, S, T, F
File Name .../text/AlignJustify16.gif
.../text/AlignJustify24.gif
Other Notes Use these graphics only for text. The generic Horizontally Justify and Vertically Justify might be more appropriate for other uses.





Align Left

 


Graphics Small Align Left graphic Large Align Left graphic
Description Places the selected text along the left edge of the specified unit
Name Align Left
Tool Tip Align Left
Shortcut Ctrl-L
Mnemonic L, F, T
File Name .../text/AlignLeft16.gif
.../text/AlignLeft24.gif
Other Notes An example of the unit specified in the description is a line or paragraph. Use the Align Left graphic only for text. See Align Left for graphics that might be more appropriate for other needs.





Align Right

 


Graphics Small Align Right graphic Large Align Right graphic
Description Places the selected text along the right edge of the specified unit
Name Align Right
Tool Tip Align Right
Shortcut Ctrl-R
Mnemonic R, G, H, T
File Name .../text/AlignRight16.gif
.../text/AlignRight24.gif
Other Notes An example of the unit specified in the description is a line or paragraph. Use this graphic only for text. See Align Right for graphics that might be more appropriate for other needs.





Type Style Graphics

This section contains graphics that represent frequently used type styles for text.

Bold

 


Graphics Small Bold graphic Large Bold graphic
Description Displays text in boldface type style
Name Bold
Tool Tip Bold
Shortcut Ctrl-B
Mnemonic B, L, D
File Name .../text/Bold16.gif
.../text/Bold24.gif





Italic

 


Graphics Small Italic graphic Large Italic graphic
Description Displays text in an italic type style
Name Italic
Tool Tip Italic
Shortcut Ctrl-I
Mnemonic I, T, L, C
File Name .../text/Italic16.gif
.../text/Italic24.gif





Normal

 


Graphics Small Normal graphic Large Normal graphic
Description Displays text without any deviations from the regular style
Name Normal
Tool Tip Normal
Mnemonic N, R, M, L
File Name .../text/Normal16.gif
.../text/Normal24.gif





Underline

 


Graphics Small Underline graphic Large Underline graphic
Description Displays text with a thin line underneath each character
Name Underline
Tool Tip Underline
Shortcut Ctrl-U
Mnemonic U, N, D, R
File Name .../text/Underline16.gif
.../text/Underline24.gif




Java Look and Feel Design Guidelines, second edition.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.
Previous Next Contents/Index/Search
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
JavaOne Banner
Java 8 banner (182)