|
JAPI 0_6-alpha-2 Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JOptionPane
net.sf.japi.swing.TipOfTheDayManager
public final class TipOfTheDayManager
Class that manages tips of the day. The tips of the day are read from a property file that's name is set via the system property "net.sf.japi.swing.tod". The format of that property file follows the normal Java Properties convention, with the property keys being numbered, starting at "tod.text.1". Example:
# Tip Of The Days, English Version tod.text.1=<html>For analysis with other tools you can export the symbol map to XML, MS-Excel and CSV. tod.text.2=<html>For analysis with other tools you can export the mapping map to XML, MS-Excel and CSV. tod.text.3=<html>The supported map file formats are: Intel, GCC and MSVC.
${property.name}, which should then be looked up using
a defined scheme from one or perhaps more definable ActionFactories.| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JOptionPane |
|---|
JOptionPane.AccessibleJOptionPane |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Method Summary | |
|---|---|
int |
getTodIndex()
Returns number of current Tip of the day. |
static void |
show(Component parentComponent)
Show a Tip Of The Day. |
static void |
showAtStartup(Component parentComponent)
Show Tip Of The Day at startup. |
void |
todClose()
Action method for close. |
void |
todNext()
Action method for next. |
void |
todPrev()
Action method for previous. |
void |
todRand()
Action method for random. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static void showAtStartup(Component parentComponent)
parentComponent - the parent component of this dialog.public static void show(Component parentComponent)
parentComponent - the parent component of this dialog.public int getTodIndex()
public void todClose()
public void todNext()
public void todPrev()
public void todRand()
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||