Conventions Used in This Book
The following typographical conventions are used in this book:
- Plain text
Indicates menu titles, menu options, menu buttons, and keyboard accelerators
- Italic
Indicates new terms, example URLs, example email addresses, filenames, file extensions, pathnames, directories, and Unix utilities
-
Constant width Indicates commands, options, switches, variables, types, classes, namespaces, methods, modules, properties, parameters, values, objects, events, event handlers, or XML tags
-
Constant width italic Shows text that should be replaced with user-supplied values
Tip
This icon signifies a tip, suggestion, or general note.
Warning
This icon indicates a warning or caution.
Also in this book I use a number of conventions. For example, menu items are separated with an → like so: File→ New→ Project. To make them stand out, new lines of code are highlighted when they’re added, and I indicate more code yet to come with three dots. Here’s an example:
for (int loopIndex = 0; loopIndex < 10; loopIndex++)
{
TabItem tabItem = new TabItem(tabFolder, SWT.NULL);
tabItem.setText("Tab " + loopIndex);
Text text = new Text(tabFolder, SWT.BORDER);
text.setText("This is page " + loopIndex);
tabItem.setControl(text);
.
.
.
}Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access