ter.SDK.controler
Interface Controler

All Superinterfaces:
Plugin
All Known Subinterfaces:
Manager
All Known Implementing Classes:
AbstractControler, AbstractManager

public interface Controler
extends Plugin

Title:

Description: A controler must have the default constructor with no parameter and the constructor : Controler(ter.SDK.manager.Manager , ter.SDK.view.View)

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Jerôme GAHIDE - Lucas CHARBIT - Gabriel ZERBIB - Xavier GALBOIS

Method Summary
 java.lang.String getDefaultView()
          get the default view associates with this controler
 View getView()
          gets the view associates to this component
 boolean isControlable(View v)
          tells whether the given view is controlable by this controler
 void listenToView()
          tels this controler to its associated view
 
Methods inherited from interface ter.SDK.Plugin
getName, getType
 

Method Detail

getView

public View getView()
gets the view associates to this component

Returns:
the view associated to this component

listenToView

public void listenToView()
tels this controler to its associated view


isControlable

public boolean isControlable(View v)
tells whether the given view is controlable by this controler

Parameters:
v - the view to test
Returns:
true if it is compatible, false otherwise

getDefaultView

public java.lang.String getDefaultView()
get the default view associates with this controler

Returns:
the name of the view;