net.sf.borg.common
Class PrefName

java.lang.Object
  extended by net.sf.borg.common.PrefName

public class PrefName
extends Object

PrefName contains all of the Borg preference definitions and default values. It enforces compile time checking of preference names


Field Summary
static PrefName APPTFONT
          The APPTFONT.
static PrefName BACKGSTART
          start as iconified to system tray
static PrefName BACKUPDIR
          backup directory for auto backup
static PrefName BEEPINGREMINDERS
          The BEEPINGREMINDERS
static PrefName BIRTHDAYREMINDERDAYS
          days before a birthday to show birthday reminders
static PrefName CAL_SHOW_SUBTASKS
          show subtasks on calendar
static PrefName CAL_SHOW_TASKS
          show tasks on calendar
static PrefName COLORPRINT
          print in color
static PrefName COUNTRY
          The COUNTRY.
static PrefName DAYOFYEAR
          show the day of the year
static PrefName DAYVIEWFONT
          The DAYVIEWFONT.
static PrefName DBHOST
          database host
static PrefName DBNAME
          database name
static PrefName DBPASS
          database password
static PrefName DBPORT
          databse port
static PrefName DBTYPE
          database type.
static PrefName DBUSER
          database user
static PrefName DEFAULT_APPT
          contents of the default appointment in XML
static PrefName DEFFONT
          The DEFFONT.
static PrefName DYNAMIC_LOADING
          allow dynamically loaded plugins
static PrefName EMAILADDR
          The EMAILADDR.
static PrefName EMAILDEBUG
          The EMAILDEBUG.
static PrefName EMAILENABLED
          The EMAILENABLED.
static PrefName EMAILLAST
          The EMAILLAST.
static PrefName EMAILPASS
          The EMAILPASS.
static PrefName EMAILPASS2
           
static PrefName EMAILPORT
          The EMAILPORT.
static PrefName EMAILSERVER
          The EMAILSERVER.
static PrefName EMAILTIME
          The EMAILTIME.
static PrefName EMAILUSER
          The EMAILUSER.
static PrefName ENABLETLS
          TLS flag
static PrefName FIRSTDOW
          the first day of the week
static PrefName GOODIESTHEME
           
static PrefName GRADIENT_APPTS
          draw gradient color in appointment boxes - can slow down older machines
static PrefName H2DIR
          h2 database directory
static PrefName HIDESTRIKETHROUGH
          do not show strikethrough appointments
static PrefName HSQLDBDIR
          hsql database directory
static PrefName ISOWKNUMBER
          use iso week numbering
static PrefName JDBCURL
          jdbc url - for generic jdbc only, not hsql or mysql
static PrefName KEYALIAS
          encryption key alias in the keystore
static PrefName KEYSTORE
          keystore location
static PrefName LANGUAGE
          The LANGUAGE.
static PrefName LNF
          The LNF.
static PrefName MILTIME
          show military time
static PrefName PASSWORD_TTL
          cached password time to live in seconds
static PrefName PRINTFONT
          The PRINTFONT.
static PrefName PRIORITY_SORT
          sort appointments by priority for a day
static PrefName REMINDERLIST
          option to consolidate all reminders in a single list window
static PrefName REMINDERS
          The REMINDERS.
static PrefName REMMINS
          The REMMINS.
static PrefName SHOW_UNDO_STACK
          show the entire undo stack (debugging)
static PrefName SHOWCANHOLIDAYS
          show canadian holidays
static PrefName SHOWPRIVATE
          show private appointments
static PrefName SHOWPUBLIC
          show public appontments
static PrefName SHOWUSHOLIDAYS
          show us holidays
static PrefName SHUTDOWN_ACTION
          shutdown action
static PrefName SHUTDOWNTIME
           
static PrefName SOCKETPORT
          port for the socket listener
static PrefName SPLASH
          show the spash window
static PrefName STACKTRACE
          show a stack trace button on error dialogs
static PrefName SYNCMINS
          interval for db auto-sync in minutes
static PrefName SYSTRAYDATE
          show date is system tray
static PrefName TASK_SHOW_ABBREV
          when showing tasks project and subtasks, prepend a prefix and id number
static PrefName TASK_TREE_SHOW_STATUS
          show task number and status in task tree
static PrefName TASKREMINDERS
          show reminders for tasks
static PrefName TODO_QUICK_ENTRY_AUTO_CLEAR_TEXT_FIELD
          todo quick add, clear text after add
static PrefName TODO_QUICK_ENTRY_AUTO_SET_DATE_FIELD
          todo quick add, default date to today
static PrefName TODOREMINDERMINS
          how often tp pop up reminders for untimed todos
static PrefName TRAYFONT
           
static PrefName TRUNCAPPT
          truncate appointment text after 1 line
static PrefName UCS_MARKER
          characters or image to mark todos with
static PrefName UCS_MARKTODO
          mark todos on the calendar
static PrefName UCS_ONTODO
          use user colors on todo view
static PrefName USESYSTRAY
          use system tray
static PrefName WEEKVIEWFONT
          The WEEKVIEWFONT.
static PrefName WKENDHOUR
          latest hour in week grid
static PrefName WKSTARTHOUR
          earliest hour in week grid
static PrefName YEARVIEWFONT
           
 
Constructor Summary
PrefName(String name, Object def)
          Instantiates a new pref name.
 
Method Summary
 Object getDefault()
          Gets the default value
 String getName()
          Gets the name.
(package private)  void setDefault(Object default_)
          Sets the default value
(package private)  void setName(String name_)
          Sets the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBTYPE

public static PrefName DBTYPE
database type.


DBHOST

public static PrefName DBHOST
database host


DBPORT

public static PrefName DBPORT
databse port


DBNAME

public static PrefName DBNAME
database name


DBUSER

public static PrefName DBUSER
database user


DBPASS

public static PrefName DBPASS
database password


JDBCURL

public static PrefName JDBCURL
jdbc url - for generic jdbc only, not hsql or mysql


SYNCMINS

public static PrefName SYNCMINS
interval for db auto-sync in minutes


HSQLDBDIR

public static PrefName HSQLDBDIR
hsql database directory


H2DIR

public static PrefName H2DIR
h2 database directory


STACKTRACE

public static PrefName STACKTRACE
show a stack trace button on error dialogs


SPLASH

public static PrefName SPLASH
show the spash window


SOCKETPORT

public static PrefName SOCKETPORT
port for the socket listener


BACKGSTART

public static PrefName BACKGSTART
start as iconified to system tray


USESYSTRAY

public static PrefName USESYSTRAY
use system tray


SYSTRAYDATE

public static PrefName SYSTRAYDATE
show date is system tray


BACKUPDIR

public static PrefName BACKUPDIR
backup directory for auto backup


COLORPRINT

public static PrefName COLORPRINT
print in color


SHOWPUBLIC

public static PrefName SHOWPUBLIC
show public appontments


SHOWPRIVATE

public static PrefName SHOWPRIVATE
show private appointments


SHOWUSHOLIDAYS

public static PrefName SHOWUSHOLIDAYS
show us holidays


SHOWCANHOLIDAYS

public static PrefName SHOWCANHOLIDAYS
show canadian holidays


PRIORITY_SORT

public static PrefName PRIORITY_SORT
sort appointments by priority for a day


FIRSTDOW

public static PrefName FIRSTDOW
the first day of the week


MILTIME

public static PrefName MILTIME
show military time


WKSTARTHOUR

public static PrefName WKSTARTHOUR
earliest hour in week grid


WKENDHOUR

public static PrefName WKENDHOUR
latest hour in week grid


DEFAULT_APPT

public static PrefName DEFAULT_APPT
contents of the default appointment in XML


DAYOFYEAR

public static PrefName DAYOFYEAR
show the day of the year


TRUNCAPPT

public static PrefName TRUNCAPPT
truncate appointment text after 1 line


ISOWKNUMBER

public static PrefName ISOWKNUMBER
use iso week numbering


HIDESTRIKETHROUGH

public static PrefName HIDESTRIKETHROUGH
do not show strikethrough appointments


SHOW_UNDO_STACK

public static PrefName SHOW_UNDO_STACK
show the entire undo stack (debugging)


REMINDERS

public static PrefName REMINDERS
The REMINDERS.


BEEPINGREMINDERS

public static PrefName BEEPINGREMINDERS
The BEEPINGREMINDERS


TODOREMINDERMINS

public static PrefName TODOREMINDERMINS
how often tp pop up reminders for untimed todos


REMINDERLIST

public static PrefName REMINDERLIST
option to consolidate all reminders in a single list window


TASKREMINDERS

public static PrefName TASKREMINDERS
show reminders for tasks


BIRTHDAYREMINDERDAYS

public static PrefName BIRTHDAYREMINDERDAYS
days before a birthday to show birthday reminders


EMAILENABLED

public static PrefName EMAILENABLED
The EMAILENABLED.


EMAILSERVER

public static PrefName EMAILSERVER
The EMAILSERVER.


EMAILADDR

public static PrefName EMAILADDR
The EMAILADDR.


EMAILLAST

public static PrefName EMAILLAST
The EMAILLAST.


EMAILDEBUG

public static PrefName EMAILDEBUG
The EMAILDEBUG.


EMAILTIME

public static PrefName EMAILTIME
The EMAILTIME.


EMAILUSER

public static PrefName EMAILUSER
The EMAILUSER.


EMAILPASS

public static PrefName EMAILPASS
The EMAILPASS.


EMAILPASS2

public static PrefName EMAILPASS2

EMAILPORT

public static PrefName EMAILPORT
The EMAILPORT.


ENABLETLS

public static PrefName ENABLETLS
TLS flag


REMMINS

public static PrefName REMMINS
The REMMINS.


DEFFONT

public static PrefName DEFFONT
The DEFFONT.


APPTFONT

public static PrefName APPTFONT
The APPTFONT.


DAYVIEWFONT

public static PrefName DAYVIEWFONT
The DAYVIEWFONT.


WEEKVIEWFONT

public static PrefName WEEKVIEWFONT
The WEEKVIEWFONT.


PRINTFONT

public static PrefName PRINTFONT
The PRINTFONT.


YEARVIEWFONT

public static PrefName YEARVIEWFONT

TRAYFONT

public static PrefName TRAYFONT

LNF

public static PrefName LNF
The LNF.


GOODIESTHEME

public static PrefName GOODIESTHEME

COUNTRY

public static PrefName COUNTRY
The COUNTRY.


LANGUAGE

public static PrefName LANGUAGE
The LANGUAGE.


UCS_ONTODO

public static PrefName UCS_ONTODO
use user colors on todo view


UCS_MARKTODO

public static PrefName UCS_MARKTODO
mark todos on the calendar


UCS_MARKER

public static PrefName UCS_MARKER
characters or image to mark todos with


GRADIENT_APPTS

public static PrefName GRADIENT_APPTS
draw gradient color in appointment boxes - can slow down older machines


TASK_SHOW_ABBREV

public static PrefName TASK_SHOW_ABBREV
when showing tasks project and subtasks, prepend a prefix and id number


CAL_SHOW_TASKS

public static PrefName CAL_SHOW_TASKS
show tasks on calendar


CAL_SHOW_SUBTASKS

public static PrefName CAL_SHOW_SUBTASKS
show subtasks on calendar


TASK_TREE_SHOW_STATUS

public static PrefName TASK_TREE_SHOW_STATUS
show task number and status in task tree


KEYSTORE

public static PrefName KEYSTORE
keystore location


KEYALIAS

public static PrefName KEYALIAS
encryption key alias in the keystore


PASSWORD_TTL

public static PrefName PASSWORD_TTL
cached password time to live in seconds


TODO_QUICK_ENTRY_AUTO_CLEAR_TEXT_FIELD

public static PrefName TODO_QUICK_ENTRY_AUTO_CLEAR_TEXT_FIELD
todo quick add, clear text after add


TODO_QUICK_ENTRY_AUTO_SET_DATE_FIELD

public static PrefName TODO_QUICK_ENTRY_AUTO_SET_DATE_FIELD
todo quick add, default date to today


DYNAMIC_LOADING

public static PrefName DYNAMIC_LOADING
allow dynamically loaded plugins


SHUTDOWN_ACTION

public static PrefName SHUTDOWN_ACTION
shutdown action


SHUTDOWNTIME

public static final PrefName SHUTDOWNTIME
Constructor Detail

PrefName

public PrefName(String name,
                Object def)
Instantiates a new pref name.

Parameters:
name - the name
def - the default value
Method Detail

setName

void setName(String name_)
Sets the name.

Parameters:
name_ - the new name

getName

public String getName()
Gets the name.

Returns:
the name

setDefault

void setDefault(Object default_)
Sets the default value

Parameters:
default_ - the new default

getDefault

public Object getDefault()
Gets the default value

Returns:
the default


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae