palmed.edit.view
Class NullView

java.lang.Object
  extended by palmed.edit.view.NullView
All Implemented Interfaces:
ISelectionView, ITextView, IView

public final class NullView
extends java.lang.Object
implements IView

This class implements a null view according to the null object pattern.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
NullView()
           
 
Method Summary
 void modified(boolean status)
          Notify the modification flag has changed.
 void update(Coordinate coordinate)
          Notify the insertion position has changed.
 void update(int columns, int lines)
          Notify the text bounding box has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullView

public NullView()
Method Detail

update

public void update(Coordinate coordinate)
Notify the insertion position has changed.

Specified by:
update in interface ISelectionView
Parameters:
coordinate - the new position

update

public void update(int columns,
                   int lines)
Notify the text bounding box has changed.

Specified by:
update in interface ITextView
Parameters:
columns - the number of columns
lines - the number of lines

modified

public void modified(boolean status)
Notify the modification flag has changed.

Specified by:
modified in interface ITextView
Parameters:
status - the new modification status


Copyright © 2004-2006 PalmEd. All Rights Reserved.