org.gnu.gnomevte

Class Terminal


public class Terminal
extends org.gnu.gtk.Widget

Constructor Summary

Terminal()
Terminal(Handle handle)
Terminal(String command, args[] , String workingDir)

Method Summary

void
addListener(org.gnu.gnomevte.event.CharacterSizeChangedListener listener)
void
addListener(org.gnu.gnomevte.event.CommitListener listener)
void
addListener(org.gnu.gnomevte.event.MoveWindowListener listener)
void
addListener(org.gnu.gnomevte.event.ResizeWindowListener listener)
void
addListener(org.gnu.gnomevte.event.TerminalListener listener)
void
addListener(org.gnu.gnomevte.event.TextScrolledListener listener)
void
copyClipboard()
void
copyPrimary()
void
feed(String data)
void
feedChild(String data)
protected void
fireTerminalCharacterSizeChangedEvent(org.gnu.gnomevte.event.CharacterSizeChangedEvent event)
protected void
fireTerminalCommitEvent(org.gnu.gnomevte.event.CommitEvent event)
protected void
fireTerminalEvent(org.gnu.gnomevte.event.TerminalEvent event)
protected void
fireTerminalMoveWindowEvent(org.gnu.gnomevte.event.MoveWindowEvent event)
protected void
fireTerminalResizeWindowEvent(org.gnu.gnomevte.event.ResizeWindowEvent event)
protected void
fireTerminalTextScrolledEvent(org.gnu.gnomevte.event.TextScrolledEvent event)
int
forkCommand(String command, args[] , String directory, boolean lastlog, boolean utmp, boolean wtmp)
Adjustment
getAdjustment()
boolean
getAllowBold()
String
getEmulation()
String
getEncoding()
FontDescription
getFont()
String
getStatusLine()
boolean
hasSelection()
boolean
isBellAudible()
boolean
isBellVisible()
void
pasteClipboard()
void
pastePrimary()
void
removeListener(org.gnu.gnomevte.event.CharacterSizeChangedListener listener)
void
removeListener(org.gnu.gnomevte.event.CommitListener listener)
void
removeListener(org.gnu.gnomevte.event.MoveWindowListener listener)
void
removeListener(org.gnu.gnomevte.event.ResizeWindowListener listener)
void
removeListener(org.gnu.gnomevte.event.TerminalListener listener)
void
removeListener(org.gnu.gnomevte.event.TextScrolledListener listener)
void
reset(boolean full, boolean clearHistory)
void
setAllowBold(boolean allowBold)
void
setAudibleBell(boolean audible)
void
setBackgroudColor(Color color)
void
setBackgroudImage(String file)
void
setBackgroundImage(Pixbuf image)
void
setBackgroundSaturation(int saturation)
void
setBackgroundTransparent(boolean transparent)
void
setColorBold(Color color)
void
setColorDim(Color color)
void
setColors(Color fgcolor, Color bgcolor, Color palett, int size)
void
setCursorBlinks(boolean blinks)
void
setDefaultColors()
void
setEmulation(String emulation)
void
setEncoding(String codeset)
void
setFont(FontDescription font)
void
setForegroundColor(Color color)
void
setPty(int pty_master)
void
setScrollOnKeystroke(boolean scrollOnKeystroke)
void
setScrollOnOutput(boolean scrollOnOutput)
void
setScrollbackLines(int lines)
void
setSize(int columns, int rows)
void
setVisibleBell(boolean visible)
static org.gnu.gnomevte.Terminal
terminalAndShell()

Constructor Details

Terminal

public Terminal()

Terminal

protected Terminal(Handle handle)

Terminal

public Terminal(String command,
                args[] ,
                String workingDir)

Method Details

addListener

public void addListener(org.gnu.gnomevte.event.CharacterSizeChangedListener listener)

addListener

public void addListener(org.gnu.gnomevte.event.CommitListener listener)

addListener

public void addListener(org.gnu.gnomevte.event.MoveWindowListener listener)

addListener

public void addListener(org.gnu.gnomevte.event.ResizeWindowListener listener)

addListener

public void addListener(org.gnu.gnomevte.event.TerminalListener listener)

addListener

public void addListener(org.gnu.gnomevte.event.TextScrolledListener listener)

copyClipboard

public void copyClipboard()

copyPrimary

public void copyPrimary()

feed

public void feed(String data)

feedChild

public void feedChild(String data)

fireTerminalCharacterSizeChangedEvent

protected void fireTerminalCharacterSizeChangedEvent(org.gnu.gnomevte.event.CharacterSizeChangedEvent event)

fireTerminalCommitEvent

protected void fireTerminalCommitEvent(org.gnu.gnomevte.event.CommitEvent event)

fireTerminalEvent

protected void fireTerminalEvent(org.gnu.gnomevte.event.TerminalEvent event)

fireTerminalMoveWindowEvent

protected void fireTerminalMoveWindowEvent(org.gnu.gnomevte.event.MoveWindowEvent event)

fireTerminalResizeWindowEvent

protected void fireTerminalResizeWindowEvent(org.gnu.gnomevte.event.ResizeWindowEvent event)

fireTerminalTextScrolledEvent

protected void fireTerminalTextScrolledEvent(org.gnu.gnomevte.event.TextScrolledEvent event)

forkCommand

public int forkCommand(String command,
                       args[] ,
                       String directory,
                       boolean lastlog,
                       boolean utmp,
                       boolean wtmp)

getAdjustment

public Adjustment getAdjustment()

getAllowBold

public boolean getAllowBold()

getEmulation

public String getEmulation()

getEncoding

public String getEncoding()

getFont

public FontDescription getFont()

getStatusLine

public String getStatusLine()

hasSelection

public boolean hasSelection()

isBellAudible

public boolean isBellAudible()

isBellVisible

public boolean isBellVisible()

pasteClipboard

public void pasteClipboard()

pastePrimary

public void pastePrimary()

removeListener

public void removeListener(org.gnu.gnomevte.event.CharacterSizeChangedListener listener)

removeListener

public void removeListener(org.gnu.gnomevte.event.CommitListener listener)

removeListener

public void removeListener(org.gnu.gnomevte.event.MoveWindowListener listener)

removeListener

public void removeListener(org.gnu.gnomevte.event.ResizeWindowListener listener)

removeListener

public void removeListener(org.gnu.gnomevte.event.TerminalListener listener)

removeListener

public void removeListener(org.gnu.gnomevte.event.TextScrolledListener listener)

reset

public void reset(boolean full,
                  boolean clearHistory)

setAllowBold

public void setAllowBold(boolean allowBold)

setAudibleBell

public void setAudibleBell(boolean audible)

setBackgroudColor

public void setBackgroudColor(Color color)

setBackgroudImage

public void setBackgroudImage(String file)
            throws FileNotFoundException

setBackgroundImage

public void setBackgroundImage(Pixbuf image)

setBackgroundSaturation

public void setBackgroundSaturation(int saturation)

setBackgroundTransparent

public void setBackgroundTransparent(boolean transparent)

setColorBold

public void setColorBold(Color color)

setColorDim

public void setColorDim(Color color)

setColors

public void setColors(Color fgcolor,
                      Color bgcolor,
                      Color palett,
                      int size)

setCursorBlinks

public void setCursorBlinks(boolean blinks)

setDefaultColors

public void setDefaultColors()

setEmulation

public void setEmulation(String emulation)

setEncoding

public void setEncoding(String codeset)

setFont

public void setFont(FontDescription font)

setForegroundColor

public void setForegroundColor(Color color)

setPty

public void setPty(int pty_master)

setScrollOnKeystroke

public void setScrollOnKeystroke(boolean scrollOnKeystroke)

setScrollOnOutput

public void setScrollOnOutput(boolean scrollOnOutput)

setScrollbackLines

public void setScrollbackLines(int lines)

setSize

public void setSize(int columns,
                    int rows)

setVisibleBell

public void setVisibleBell(boolean visible)

terminalAndShell

public static org.gnu.gnomevte.Terminal terminalAndShell()