|
swingx Version 2005-08-19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.tips.TipLoader
public class TipLoader
Loads tips from Properties.
Method Summary | |
---|---|
static TipOfTheDayModel |
load(Properties props)
Initializes a TipOfTheDayModel from properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TipOfTheDayModel load(Properties props)
tip.1.name=First Tip
tip.1.description=This is the description
tip.2.name=Second Tip
tip.2.description=<html>This is an html description
...
tip.10.description=No name for this tip, name is optional
props
-
IllegalArgumentException
- if a name is found without description
|
swingx Version 2005-08-19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |