gnu.jemacs.buffer
Class EToolkit

java.lang.Object
  extended by gnu.jemacs.buffer.EToolkit
Direct Known Subclasses:
SwingToolkit, SwtToolkit

public abstract class EToolkit
extends java.lang.Object


Field Summary
static java.lang.String defaultToolkit
           
static java.lang.String swingToolkit
           
static java.lang.String swtToolkit
           
 
Constructor Summary
EToolkit()
           
 
Method Summary
abstract  java.lang.Object getFace(java.lang.String name, boolean create)
          Get a face with the given name.
abstract  java.lang.Object getIgnoreAction()
           
static EToolkit getInstance()
           
static EToolkit getInstance(java.lang.String toolkitClassname)
           
abstract  EMenu getMenu(LList menubar)
           
abstract  Buffer newBuffer(java.lang.String name)
           
abstract  EFrame newFrame(Buffer buffer)
           
 void setBackground(java.lang.Object face, java.awt.Color background)
           
 void setBold(java.lang.Object face, boolean bold)
           
 void setForeground(java.lang.Object face, java.awt.Color foreground)
           
 void setUnderline(java.lang.Object face, boolean underline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swingToolkit

public static final java.lang.String swingToolkit
See Also:
Constant Field Values

swtToolkit

public static final java.lang.String swtToolkit
See Also:
Constant Field Values

defaultToolkit

public static java.lang.String defaultToolkit
Constructor Detail

EToolkit

public EToolkit()
Method Detail

getInstance

public static EToolkit getInstance()

getInstance

public static EToolkit getInstance(java.lang.String toolkitClassname)

newBuffer

public abstract Buffer newBuffer(java.lang.String name)

newFrame

public abstract EFrame newFrame(Buffer buffer)

getMenu

public abstract EMenu getMenu(LList menubar)

getFace

public abstract java.lang.Object getFace(java.lang.String name,
                                         boolean create)
Get a face with the given name.


setUnderline

public void setUnderline(java.lang.Object face,
                         boolean underline)

setBold

public void setBold(java.lang.Object face,
                    boolean bold)

setForeground

public void setForeground(java.lang.Object face,
                          java.awt.Color foreground)

setBackground

public void setBackground(java.lang.Object face,
                          java.awt.Color background)

getIgnoreAction

public abstract java.lang.Object getIgnoreAction()