|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.blackledge.david.tivo.multitasker.plugins.ClockBrand
public class ClockBrand
simple text clock
Field Summary |
---|
Fields inherited from interface com.blackledge.david.tivo.multitasker.LocalOptionProvider |
---|
TYPE_BOOLEAN, TYPE_CLASS, TYPE_COLOR, TYPE_FILE, TYPE_FLOAT, TYPE_FOLDER, TYPE_IMAGE, TYPE_INTEGER, TYPE_STRING, TYPE_URL |
Constructor Summary | |
---|---|
ClockBrand()
|
Method Summary | |
---|---|
String |
getLocalOptionDefault(String key)
default 15 for font size. |
Collection |
getLocalOptionNames()
just the keySet of getLocalOptionPreferences() |
Map |
getLocalOptionPreferences()
Add support for OPTION_FONT_COLOR and OPTION_FONT_SIZE
map of your option keys where the value is "Type[+],text [range]" per the
MultiTaskerPreferences class. |
com.tivo.hme.bananas.BView |
getUpdatedBrand(com.tivo.hme.bananas.BView brandParent)
Gets called to create the brand and any time the multitasker thinks it should be updated. |
void |
init(MultiTaskerApplication app)
initialize the plugin with the current application context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClockBrand()
Method Detail |
---|
public void init(MultiTaskerApplication app)
Brand
Brand.getUpdatedBrand(BView)
is ever called.
init
in interface Brand
public com.tivo.hme.bananas.BView getUpdatedBrand(com.tivo.hme.bananas.BView brandParent)
Brand
getUpdatedBrand
in interface Brand
brandParent
- the parent to use for the brand's view - constrains
height/width/position
public String getLocalOptionDefault(String key)
getLocalOptionDefault
in interface LocalOptionProvider
LocalOptionProvider.getLocalOptionDefault(java.lang.String)
public Collection getLocalOptionNames()
getLocalOptionPreferences()
getLocalOptionNames
in interface LocalOptionProvider
public Map getLocalOptionPreferences()
OPTION_FONT_COLOR
and OPTION_FONT_SIZE
map of your option keys where the value is "Type[+],text [range]" per the
MultiTaskerPreferences
class. Use a LinkedHashMap
to
maintain the order of your options.
getLocalOptionPreferences
in interface LocalOptionProvider
LocalOptionProvider.getLocalOptionPreferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |