|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ter.SDK.controler.AbstractControler | +--ter.SDK.controler.CompositionControler | +--ter.SDK.controler.MyCompositionControler
Title:
Description:
Copyright: Copyright (c) 2003
Company:
Constructor Summary | |
MyCompositionControler()
the default constructor |
|
MyCompositionControler(Manager m,
View mcv)
the constructor with a Manager and the View |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
the actionPerformed function |
void |
applyEvent(ter.SDK.controler.MyCompositionControler.MyBoolean bool,
javax.swing.JPanel jPanel,
javax.swing.JButton jb)
|
java.lang.String |
getDefaultView()
get the default view associates with this controler |
java.lang.String |
getName()
this function returns the name of the String |
boolean |
isControlable(View v)
tests the given view for compatibility with this controler |
void |
listenToView()
this function add all the listener to all the graphics elements |
void |
mouseClicked(java.awt.event.MouseEvent e)
the mouse clicked Event |
void |
mouseEntered(java.awt.event.MouseEvent e)
the enterred mouse event |
void |
mouseExited(java.awt.event.MouseEvent e)
the mouse exited event |
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
the mouse released event |
Methods inherited from class ter.SDK.controler.CompositionControler |
getType, getView |
Methods inherited from class ter.SDK.controler.AbstractControler |
create, getManager, setManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MyCompositionControler()
public MyCompositionControler(Manager m, View mcv)
m
- the manager that manage this viewmcv
- the view that use this controlerMethod Detail |
public void listenToView()
listenToView
in interface Controler
public java.lang.String getName()
getName
in interface Plugin
public boolean isControlable(View v)
isControlable
in interface Controler
v
- the view to test
public java.lang.String getDefaultView()
Controler
getDefaultView
in interface Controler
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- the MouseEventpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- the MouseEventpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- the MouseEventpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- the MouseEventpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the ActionEventpublic void applyEvent(ter.SDK.controler.MyCompositionControler.MyBoolean bool, javax.swing.JPanel jPanel, javax.swing.JButton jb)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |