com.maverick.sshd.shell.terminal
Class Component

java.lang.Object
  extended by com.maverick.sshd.shell.terminal.Component
Direct Known Subclasses:
ActiveComponent

public abstract class Component
extends Object


Field Summary
protected  Dimension myDim
           
protected  TerminalOutput myIO
           
protected  String myName
           
protected  Point myPosition
           
 
Constructor Summary
Component(TerminalOutput io, String name)
           
 
Method Summary
abstract  void draw()
           
 Dimension getDimension()
           
 Point getLocation()
           
 String getName()
           
protected  void setDimension(Dimension dim)
           
 void setLocation(int col, int row)
           
 void setLocation(Point pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myName

protected String myName

myIO

protected TerminalOutput myIO

myPosition

protected Point myPosition

myDim

protected Dimension myDim
Constructor Detail

Component

public Component(TerminalOutput io,
                 String name)
Method Detail

draw

public abstract void draw()
                   throws IOException
Throws:
IOException

getName

public String getName()

getLocation

public Point getLocation()

setLocation

public void setLocation(Point pos)

setLocation

public void setLocation(int col,
                        int row)

getDimension

public Dimension getDimension()

setDimension

protected void setDimension(Dimension dim)


Copyright © 2012. All Rights Reserved.