com.japisoft.xmlpad.look
Class LookManager

java.lang.Object
  |
  +--com.japisoft.xmlpad.look.LookManager

public final class LookManager
extends java.lang.Object

Supported Look for the XMLEditor

Version:
1.0
Author:
(c) 2002 JAPISoft
See Also:
com.japisoft.xmleditor.XMLEditor

Field Summary
static XMLEditor currentEditor
           
static javax.swing.JTree currentTree
           
 
Constructor Summary
LookManager()
           
 
Method Summary
static Look getCurrentLook()
           
static void install(javax.swing.JTree tree)
          Set the share tree view
static void install(XMLEditor editor)
          Install a look for the above editor
static void setCurrentLook(Look look)
          Set the current look.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentTree

public static javax.swing.JTree currentTree

currentEditor

public static XMLEditor currentEditor
Constructor Detail

LookManager

public LookManager()
Method Detail

setCurrentLook

public static void setCurrentLook(Look look)
Set the current look. This action should be done before the XMLEditor instantiation. Or call the install method with the tied editor


getCurrentLook

public static Look getCurrentLook()
Returns:
the current editor look

install

public static void install(XMLEditor editor)
Install a look for the above editor


install

public static void install(javax.swing.JTree tree)
Set the share tree view