vlcskineditor.history
Class BitmapEditEvent

java.lang.Object
  extended by vlcskineditor.history.HistoryEvent
      extended by vlcskineditor.history.BitmapEditEvent

public class BitmapEditEvent
extends HistoryEvent

Represents the action of editing a Bitmap


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

Constructor Detail

BitmapEditEvent

public BitmapEditEvent(Bitmap bmp)
Creates a new instance of BitmapEditEvent

Method Detail

setNew

public void setNew()
Sets the new state of the Bitmap


undo

public void undo()
Description copied from class: HistoryEvent
Undoes the action represented by this object

Specified by:
undo in class HistoryEvent

redo

public void redo()
Description copied from class: HistoryEvent
Redoes the action represented by this object

Specified by:
redo in class HistoryEvent

getDescription

public java.lang.String getDescription()
Description copied from class: HistoryEvent
Gets a description of the action represented by this object

Specified by:
getDescription in class HistoryEvent