palmed.edit.view
Interface IViewport

All Known Implementing Classes:
Viewport

public interface IViewport

This interface defines a scrollable content.

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

Method Summary
 void register(IScrollView view)
          Register a view to be notified of scroll events.
 void resize(int columns, int lines)
          Resize the viewport.
 void scroll(int columns, int lines)
          Scroll the viewport.
 

Method Detail

scroll

void scroll(int columns,
            int lines)
Scroll the viewport.

Parameters:
columns - the number of columns to scroll
lines - the number of lines to scroll

resize

void resize(int columns,
            int lines)
Resize the viewport.

Parameters:
columns - the number of columns visible
lines - the number of lines visible

register

void register(IScrollView view)
Register a view to be notified of scroll events.

The content viewport must be able to handle several views.

Parameters:
view - the view to register


Copyright © 2004-2006 PalmEd. All Rights Reserved.