vlcskineditor.history
Class HistoryEvent

java.lang.Object
  extended by vlcskineditor.history.HistoryEvent
Direct Known Subclasses:
AnchorEditEvent, BitmapEditEvent, ButtonEditEvent, CheckboxEditEvent, DummyEvent, FontEditEvent, GroupEditEvent, ImageEditEvent, ItemAddEvent, ItemDeletionEvent, ItemMoveEvent, LayoutAddEvent, LayoutDeletionEvent, LayoutEditEvent, PanelEditEvent, PlaytreeEditEvent, ResourceDeletionEvent, SliderBackgroundEditEvent, SliderEditEvent, SubBitmapAddEvent, SubBitmapDeletionEvent, SubBitmapEditEvent, TextEditEvent, ThemeEditEvent, VideoEditEvent, WindowAddEvent, WindowDeletionEvent, WindowEditEvent

public abstract class HistoryEvent
extends java.lang.Object

Abstract super class for events in the history


Constructor Summary
HistoryEvent()
          Creates a new HistoryEvent
 
Method Summary
abstract  java.lang.String getDescription()
          Gets a description of the action represented by this object
 HistoryEvent getNext()
          Gets the next action in the history
 HistoryEvent getPrevious()
          Gets the previous action in the history
abstract  void redo()
          Redoes the action represented by this object
 void setNext(HistoryEvent he)
          Sets the next action in the history
 void setPrevious(HistoryEvent he)
          Sets the previous action in the history
abstract  void undo()
          Undoes the action represented by this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryEvent

public HistoryEvent()
Creates a new HistoryEvent

Method Detail

undo

public abstract void undo()
Undoes the action represented by this object


redo

public abstract void redo()
Redoes the action represented by this object


getDescription

public abstract java.lang.String getDescription()
Gets a description of the action represented by this object


getNext

public HistoryEvent getNext()
Gets the next action in the history


getPrevious

public HistoryEvent getPrevious()
Gets the previous action in the history


setNext

public void setNext(HistoryEvent he)
Sets the next action in the history


setPrevious

public void setPrevious(HistoryEvent he)
Sets the previous action in the history