jmathlib.ui.swing
Class CommandHistoryManager.Session

java.lang.Object
  extended by jmathlib.ui.swing.CommandHistoryManager.Session
Enclosing class:
CommandHistoryManager

public class CommandHistoryManager.Session
extends java.lang.Object


Field Summary
private  java.util.ArrayList<CommandHistoryManager.Command> commands
           
private  java.util.Date startTime
           
 
Constructor Summary
CommandHistoryManager.Session(java.util.Date sessionStartTime)
           
 
Method Summary
(package private)  CommandHistoryManager.Command addCommand(java.lang.String command)
           
(package private)  void clearCommands()
           
 int commandCount()
           
 int compareTo(java.lang.Object other)
           
 CommandHistoryManager.Command getCommand(int index)
           
 java.util.Date getStartTime()
           
 int indexOfCommand(java.lang.String command)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commands

private java.util.ArrayList<CommandHistoryManager.Command> commands

startTime

private java.util.Date startTime
Constructor Detail

CommandHistoryManager.Session

public CommandHistoryManager.Session(java.util.Date sessionStartTime)
Method Detail

addCommand

CommandHistoryManager.Command addCommand(java.lang.String command)

clearCommands

void clearCommands()

commandCount

public int commandCount()

getCommand

public CommandHistoryManager.Command getCommand(int index)

getStartTime

public java.util.Date getStartTime()

indexOfCommand

public int indexOfCommand(java.lang.String command)

compareTo

public int compareTo(java.lang.Object other)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FOOTER

BOTTOM