程序包 weka.core

接口 Undoable

所有已知实现类:
ArffPanel, ArffSortedTableModel, ArffTableModel

public interface Undoable
Interface implemented by classes that support undo.
版本:
$Revision: 1.2 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    adds an undo point to the undo history
    boolean
    returns whether an undo is possible, i.e.
    void
    removes the undo history
    boolean
    returns whether undo support is enabled
    void
    setUndoEnabled(boolean enabled)
    sets whether undo support is enabled
    void
    undoes the last action
  • 方法详细资料

    • isUndoEnabled

      boolean isUndoEnabled()
      returns whether undo support is enabled
    • setUndoEnabled

      void setUndoEnabled(boolean enabled)
      sets whether undo support is enabled
    • clearUndo

      void clearUndo()
      removes the undo history
    • canUndo

      boolean canUndo()
      returns whether an undo is possible, i.e. whether there are any undo points saved so far
      返回:
      returns TRUE if there is an undo possible
    • undo

      void undo()
      undoes the last action
    • addUndoPoint

      void addUndoPoint()
      adds an undo point to the undo history