DEVELOPING Intranet Applications with Java
... document. ALIGN=MIDDLE Align applet with the middle of the baseline of the text associated with the applet. Chapter 2 Designing Intranet Applications with Java file:///H|/Books/Developing_Intranet _Applications_ with_ Java/docs/v0000002.htm ... model used for the sample applications in the next section. Part IV: Applications Development with JIF This section presents eight sample intranet applications. These applications are real-world examples ... JavaSoft. http://www.javasoft.com/java.sun.com/HotJava/index.html Unique Solutions with HotJava Chapter 2 Designing Intranet Applications with Java file:///H|/Books/Developing_Intranet _Applications_ with_ Java/docs/v0000002.htm (4 of 14)...
Ngày tải lên: 16/10/2013, 12:15
... id="tree" flex= "1"> <treecols> <treecol id="Col1" label="Col1" flex= "1"/> <treecol id="Col2" label="Col1" flex= "1"/> ... in Example 3- 11. <treeitem> <listcol flex= "1"/> <splitter class="tree-splitter"/> <listcol flex= "1"/> </listcols> <listhead> ... markup in Example 3-9 is the rules for the nesting of elements within a listbox structure. The number of columns needs to be set, each with a <listcol> element, and all have to be wrapped...
Ngày tải lên: 17/10/2013, 19:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P3
... other and in rows for easy association. The flex is greater on the second column, allowing more space for the text input boxes. As with all examples in this chapter, you can see Example ... textbox defaults to three lines unless constricted by a fixed size on a container or stretched out with flex. To force the number of lines, use the rows attribute. If you want to restrict the number ... displayed is directly associated with the element using the src attribute. You can also use list-style-image, which is a CSS2 property used to associate an image with an element. To do this, you...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P4
... keys. Example 3-15. Shortcut keys with command observers <?xml version="1.0"?> label="New"/> You can associate the image with the button using the src attribute, ... in their respective domains. This flexibility has the nice effect of letting you get the buttons in a particular area by using the getElementsByTagName method with, for example, the tag name ... help Taking one of the button types in Table 3-3 as a mini-case study, you could use a button with the type menu-button to display more than one option at a time. The default orientation for...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P5
... conjunction with the box's orientation flex <number> | inherit 0.0 Determines the flexibility of the contained elements, which <tabbox orient="vertical" flex= "1"> ... boxes with a blue border and vertical boxes with a red border, for example, making it easy to see subtle differences or layout bugs. The border above the element will be straight for nonflexible ... natural sizing and layout attributes such as flex situate all elements within. In this example, the icons appear to the left and right of the bar, while the flexed text panel takes up the remaining...
Ngày tải lên: 24/10/2013, 08:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P6
... base file at runtime (or be merged with it, as described later in this chapter in the Section 3.11.2 section). When the base element is empty, it is replaced with the corresponding overlay element ... <toolbar id="main-toolbar" /> When an overlay is read with the content below, the previous line is replaced with that content: <toolbar id="main-menubar" persist="collapsed"> ... observes="cmd_save"/> </toolbar> Overlay files are XUL files with a .xul extension. The content within that file has to be contained in an <overlay> element, which is...
Ngày tải lên: 24/10/2013, 08:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P1
... example, all menus with a XUL baseline class have no borders and a nine-point font size. Note that you can use the class without the preceding XUL element to skin all XUL elements with a given class. ... rule to a unique XUL element. As with class, the ID is specified in the XUL with an attribute (e.g., <menu id="file_menu">) and in the CSS with the pound sign preceding the ... CSS you use with XUL is the same one you use for HTML elements. 4.2.1.3. Inline styles Another way to apply style to XUL elements is to use inline style rules. Use inline styles with caution....
Ngày tải lên: 28/10/2013, 15:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P2
... Property Description -moz- box- flexgrou p Specifies that a group of elements have the same flex. The value is an integer. -moz- box- ordinal Specifies the ... defined for the button with the id of forwardButton (and any class-based information, as well as the basic CSS for a button), but substitutes whatever image is used with this special GIF that ... 4.2.2.7. Element relation selectors Contextual subgroups elements appearing within other elements, such as italicized text within a <p> element or a <body> in HTML can be grouped in...
Ngày tải lên: 28/10/2013, 15:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P3
... preinstalled with the browser. The Classic skin is modeled after earlier versions of the Mozilla UI and of the Netscape 4.x Communicator product. It has the familiar light grey box look, with the ... select the item, it appears momentarily with a dark gray background and white lettering, like reverse video. The Quit menu item, unlike others, appears with a black background. Note that it ... skins sit on top of the same XUL. With one notable exception a powerful feature of CSS in Mozilla discussed later in this chapter in the Section 4.5.1 section the applications themselves are identical,...
Ngày tải lên: 07/11/2013, 09:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P4
... loaded in Mozilla with no skin information. The second is the same XUL file with the global skin loading instruction at the top. The third is a screenshot of that XUL file with an instruction ... bindings is located in the content subdirectories with the binding XML files. In this way, they "stay with& quot; the widget and not with the selected skin. You can easily extend or overwrite ... small arial,helvetica,sans-serif,tahoma; padding: 2px; width: auto; height: auto; } Now, with the two stylesheets (global.css and the xfly.css) referenced at the top, you already have...
Ngày tải lên: 07/11/2013, 09:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P5
... In the Mozilla community, the term "evil skins" is sometimes used to describe skins with unlimited script access. An evil skin is a skin for which the security restrictions above ... sometimes they are installed in the user profile and sometimes you create them yourself they come with example rules that are commented out. However, you can uncomment them and add your own rules ... <xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button" anonid="button" flex= "1" allowevents="true" xbl:inherits="disabled,crop,image,label,accessKey,c ommand,...
Ngày tải lên: 07/11/2013, 09:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P1 doc
... properties associated with a XUL window and the other XUL elements, but you can see all of them if you run the example. Analyzing output like this can familiarize you with the interfaces available ... array of all boxes in a document. The array is zero-based, so the elements start at 0 and end with the last occurrence of the element in the document. If you have three boxes in a document ... changing an image when the user clicks a button, you use the DOM to register an event handler with the button and DOM attributes on the image element to change its source. The DOM Level 1...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P2 ppt
... 5.3. Adding Scripts to the UI Once you are comfortable with how JavaScript works in the context of the user interface layer and are familiar with some of the primary DOM methods used to manipulate ... use on XUL elements (and HTML elements). Appendix C has a full listing of these events along with explanations. The following subset shows the potential for script interaction when the UI ... arrested very simply. When the XUL document in Example 5-8 loads, an event listener is registered with a row in the tree. The event listener handles the event by executing the function stopEvent(...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P3 docx
... elements in the interface, and using methods available in Mozilla JavaScript files. However, for real applications like the Mozilla browser itself, this may be only the beginning. The UI must be hooked ... 5.3.3. Changing an Element's CSS Style Using JavaScript Much of what makes the Mozilla UI both flexible and programmable is its ability to dynamically alter the CSS style rules for elements ... id="somebutton" class="testButton" label="foo" /> <spacer flex= "1" /> <button id="ctlbutton" class="testButton" label="make...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P4 docx
... fu.spawn('/usr/X11R6/bin/Eterm'); This command spawns a new Eterm with no argument. To open an Eterm with vi, you could also use this code: js> fu.spawn('/usr/X11R6/bin/Eterm', ... components and provides a convenient UI for seeing components and looking at their interfaces from within Mozilla. The Component Viewer can be built as an extension to Mozilla (see "cview" ... Component Viewer in more detail. Commonly used XPCOM objects in the browser and other Mozilla applications include file objects, RDF services, URL objects, and category managers. 5.4.1.3....
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P1 docx
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2 ppt
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P3 pdf
Ngày tải lên: 14/12/2013, 12:15
Bạn có muốn tìm thêm với từ khóa: