ChineseClock Applet
|
|
Features:
- Display the time/date in Chinese characters
- Choose from a horizontal display or a traditional vertical display.
- Change colors for the background and characters.
Back to top
Parameter list:
The following is a list of parameters which this applet understands.
There are defaults for every setting so in reality you don't need to set
anything. The information below is organized in the following format:
param name - (possible values) description
- display - ( horz, vert )
- Display the time/date vertically or horizontally
- showdate - ( true, false )
- Show the date
- showtime - (true, false )
- Show the time
- showseconds - ( true, false )
- Show seconds. This is ignored if showtime is false.
- bgcolor - ( black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow or any hex value Ex. 0x1234AB, AB947F, #458ABF)
- The background color of the clock. It may be any of the above colors or any hex number
- charcolor - ( black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow or any hex value Ex. 0x1234AB, AB947F, #458ABF)
- The color of the characters. It may be any of the above colors or any hex number
The inital x,y position corresponds to the top left corner of the
first character. If the xpos and ypos param are missing the time display will be centered
if the display mode is horizontal.
- xpos - ( any number )
- The x position where the time will be drawn
- ypos - ( any number )
- The y position where the time will be drawn
- charsize - ( any number )
- The size of the characters. The sizes that look best are 15 and 20. You must remember to
allocate enough space for the applet to display the characters. The maximum number of characters
needed for diplaying the time is 9 characters (10 if displaying in 24 hr mode). Thus for a charsize of 20
you should have an applet width of at least 180. For the date you should allocate enought space for 15 characters.
- timehrs - ( 12,24 )
- Show time as 12 or 24 hr mode.
Back to top
Disclaimer Agreement:
Users of ChineseClock must accept this disclaimer of warranty:
"ChineseClock is supplied as is. The author disclaims all
warranties, expressed or implied, including, without limitation,
the warranties of merchantability and of fitness for any purpose.
The author assumes no liability for damages, direct or conse-
quential, which may result from the use of ChineseClock."
Back to top
Revised: Dec 23, 2005