alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

###############################################################################
# Copyright (c) 2003, 2004 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     IBM Corporation - initial API and implementation
###############################################################################
! Alternative style file for SWT presentation

! General properties that can only be specified in a shared style 
! file because they apply to the whole presentation.
	! Background color of all presentation 
	! ------------------------------------
	bg = #rrggbb hex

	! Color for presentation title 
	! -----------------------------
	title.fg = #rrggbb hex

	! Backgournd Image for presentation title  
	! ----------------------------------------
	title.image = <file name>
	title.image.repeat = true/false
	
	! Flag to display the Home Page using custom layout. Default is true.
	! ----------------------------------------
	home-page-custom-layout = true/false

	
	

! Home Page settings
! ------------------
	! The home page layout supports all customization that is supported by a Page,
	! except what is specified under Subtitle, Description and Fonts. 
	
	! In addition, the following customizations applies only to home page:
	! Color for home page link description (default is UI forms TITLE color, which is 
	! a system color) 
	! -------------------------------------
	<homePageId>.hover-text.fg = #rrggbb hex


	! Default icons for links in the navigation bar which is added to each page
	! -------------------------------------------------------------------------
	<homePageId>.small-link-icon = 
	<homePageId>.small-hover-icon = 

	! Icon for a given link in the Home Page, and its corresponding link in 
	! the navigation bar 
	! ----------------------------------------------------------------------
	<homePageId>..link-icon = 
	<homePageId>..hover-icon = 
	<homePageId>..small-link-icon = 
	<homePageId>..small-hover-icon = 




! Page settings
! -------------
! Note: in any of the page settings, if the <pageId> is ommitted and the 
! property starts with a ".", then this property applies to this whole page,
! and to any page that inherits the properties of this page. So in effect,
! this property becomes like a shared property.
 
	! Flag to display link description in a given page. Default is true.
	<pageId>.show-link-description = true/false
	.show-link-description = true/false
	
	! Flag to display Root page navigation links in a given page. Default is true.
	<pageId>.show-home-page-navigation = true/false
	.show-home-page-navigation = true/false

	! Layout:
	! -------
	! Number of columns in this page or group.
	<pageId>.layout.ncolumns = 
	<pageId>..layout.ncolumns = 
	
	! vertical/horizantal spacing of all objects in a given page or group.
	<pageId>..layout.vspacing = 
	<pageId>..layout.hspacing = 
	
	! Number of columns/rows an element spans in its group or page.
	<pageId>..layout.colspan = 
	<pageId>..layout.rowspan = 

	
	! Icons:
	! ------
	! default icon/hover icon used for all links in the page.
	<pageId>.link-icon = 
	<pageId>.hover-icon = 
	
	! icon/hover icon for specific link/Image link.
	<pageId>..link-icon = 
	<pageId>..hover-icon = 
	

	! Sub Title:
	! ----------
	! The path of the child Text element that will be used as subtitle of this page.
	! (Can only be a child Text element)
	<pageId>.subtitle-id = 
	
	! The style id of the direct child Text element that will be used as subtitle of any page. 
	! It would be used if a specific id has not been specified at the page. 
	! (Can only be a child Text element)
	subtitle-style-id = <style id of child subtitle Text element>


	! Description:
	! ------------
	! The path of the child Text element that will be used as description of this page. 
	! (Can only be a child Text element)
	<pageId>.description-id = 

	! The path of the child Text element that will be used as description of this group. 
	! (Can only be a child Text element)
	<pageId>..description-id = 
	
	! The style id of the direct child Text element that will be used as description of any 
	! page or any group. It would be used if a specific id has not been specified at the page 
	! or group level. (Can only be a child Text element)
	description-style-id = <style id of child description Text element>

	
	! Page elements Font:
	! -------------------
	! Set the color for a specific Text or Group label. If applied to a group the label of 
	! the group gets the color and not the description text. To color description text, 
	! set its color explicitly.
	! note: it is not recommended to set the color of a link because it changes the 
	! theme of the link colors.
	<pageId>..font.fg = #rrggbb hex
	
	! make a Text element bold. Note that if the Text string itself has any formatting
	! tags like <b> and 
  • then this bold property is ignored. <pageId>..font.bold = true/false ! The style id that will make any Text element bold. It would be used if that Text element ! does not have a bold property explicitly set. bold-style-id = <style id of child subtitle Text element>
  • ... this post is sponsored by my books ...

    #1 New Release!

    FP Best Seller

     

    new blog posts

     

    Copyright 1998-2024 Alvin Alexander, alvinalexander.com
    All Rights Reserved.

    A percentage of advertising revenue from
    pages under the /java/jwarehouse URI on this website is
    paid back to open source projects.