|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.rtext.StoreKeeper
public class StoreKeeper
Keeps track of all org.fife.rtext.RText
instances (windows) that
are open, and provides an interface to update their Look and Feels together.
Constructor Summary | |
---|---|
StoreKeeper()
|
Method Summary | |
---|---|
static void |
addRTextInstance(RText rtext)
Notes that a new RText window is open. |
static int |
getInstanceCount()
Gets the number of RText instances (windows) that are
currently open. |
static void |
removeRTextInstance(RText rtext)
Removes an RText instance. |
static void |
updateLookAndFeels(javax.swing.LookAndFeel lnf)
Updates the Look and Feel of all RText instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreKeeper()
Method Detail |
---|
public static void addRTextInstance(RText rtext)
RText
window is open.
rtext
- The RText
instance to remember.public static int getInstanceCount()
RText
instances (windows) that are
currently open.
RText
instances open.public static void removeRTextInstance(RText rtext)
RText
instance.
rtext
- The RText
to remove.
java.lang.NullPointerException
- If no RText
instances have
been remembered yet.public static void updateLookAndFeels(javax.swing.LookAndFeel lnf)
RText
instances.
lnf
- The Look and Feel to change to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |