UltraLightClient Code Community
[ start | index | login ]
Overview > Title Bar

Title Bar

Belongs to following categories: Extension, ULC6.0,

Purpose

This extension provides developers with the ULCTitleBar component that allows creation of fancy labels including color gradients and background images. A ULCTitleBar can also be used as a renderer component (e.g. for ULCTable, ULCTree, ULCList, ...)

ULCTitleBar

Resources

How to use

The following shows a sample use of the ULCTitleBar component:

...

ULCTitleBar colorGradientTitleBar = new ULCTitleBar("My Title"); colorGradientTitleBar.setBarColor(Color.red); // red background colorGradientTitleBar.setShadeColor(Color.yellow); // yellow shade color colorGradientTitleBar.setGradientAlignment(ULCTitleBar.LEFT); colorGradientTitleBar.setGradientWidth(250);

ULCTitleBar backgroundImageTitleBar = new ULCTitleBar("My Title"); backgroundImageTitleBar.setBackgroundImage(...); // background image backgroundImageTitleBar.setRepeatBackgroundImage(true);

...

How it is implemented

The ULCTitleBar extends the standard ULCLabel and uses a special JTitleBar Swing component on the client-side.

Compatibility

The described functionality has been developed and tested using JDK 1.4.2_05 and ULC 6.0.2

Author

>>christian

no comments | post comment
labels
Category:Extension
Category:ULC6.0
attachments
ULCTitleBar.png (12691)
titlebar.war (1443879)
titlebar.zip (358097)
Created by christian. Last edited by admin, one year and 341 days ago. Viewed 8,587 times. #14
[diff] [history] [edit] [rdf]
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt