gnu.jemacs.swing
Class SwingToolkit

java.lang.Object
  extended by gnu.jemacs.buffer.EToolkit
      extended by gnu.jemacs.swing.SwingToolkit

public class SwingToolkit
extends EToolkit


Field Summary
 
Fields inherited from class gnu.jemacs.buffer.EToolkit
defaultToolkit, swingToolkit, swtToolkit
 
Constructor Summary
SwingToolkit()
           
 
Method Summary
 java.lang.Object getFace(java.lang.String name, boolean create)
          Get a face with the given name.
 java.lang.Object getIgnoreAction()
           
 EMenu getMenu(LList menubar)
           
 Buffer newBuffer(java.lang.String name)
           
 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 gnu.jemacs.buffer.EToolkit
getInstance, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingToolkit

public SwingToolkit()
Method Detail

newFrame

public EFrame newFrame(Buffer buffer)
Specified by:
newFrame in class EToolkit

newBuffer

public Buffer newBuffer(java.lang.String name)
Specified by:
newBuffer in class EToolkit

getFace

public java.lang.Object getFace(java.lang.String name,
                                boolean create)
Description copied from class: EToolkit
Get a face with the given name.

Specified by:
getFace in class EToolkit

setUnderline

public void setUnderline(java.lang.Object face,
                         boolean underline)
Overrides:
setUnderline in class EToolkit

setBold

public void setBold(java.lang.Object face,
                    boolean bold)
Overrides:
setBold in class EToolkit

setForeground

public void setForeground(java.lang.Object face,
                          java.awt.Color foreground)
Overrides:
setForeground in class EToolkit

setBackground

public void setBackground(java.lang.Object face,
                          java.awt.Color background)
Overrides:
setBackground in class EToolkit

getMenu

public EMenu getMenu(LList menubar)
Specified by:
getMenu in class EToolkit
See Also:
EToolkit.getMenu(gnu.lists.LList)

getIgnoreAction

public java.lang.Object getIgnoreAction()
Specified by:
getIgnoreAction in class EToolkit
See Also:
EToolkit.getIgnoreAction()