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 | This icon signifies a tip, suggestion, or general note. | | | 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); . . . } |