|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortfolioCommonBehaviour
Implementors of this interface provide behaviour that can be applied to many portfolios, such as dragging or rotateNtranslate. See PortfolioServer for more information on the event model.
| Method Summary | |
|---|---|
boolean |
customProcessEndOfFDOPmode(Portfolio p,
PointInputDevice pid,
int button)
Implement this method to be notified when a PID stops being in FDOP mode. |
boolean |
customProcessEventForThisPortfolioNotChildren(Portfolio p,
PortfolioEvent e,
boolean bubbled)
Implement this method to receive events. |
boolean |
customProcessFDOPevent(Portfolio p,
PortfolioEvent e,
double PORTxWhenEnteredFDOPmode,
double PORTyWhenEnteredFDOPmode)
Implement this method to receive FDOP mode events. |
| Method Detail |
|---|
boolean customProcessEventForThisPortfolioNotChildren(Portfolio p,
PortfolioEvent e,
boolean bubbled)
e - Eventbubbled - True iff the event did not occur on this portfolio's tile but has been bubbled from one of its children.
boolean customProcessFDOPevent(Portfolio p,
PortfolioEvent e,
double PORTxWhenEnteredFDOPmode,
double PORTyWhenEnteredFDOPmode)
e - EventPORTxWhenEnteredFDOPmode - PORT space coordinate of the PID when it entered FDOP mode.PORTyWhenEnteredFDOPmode - PORT space coordinate of the PID when it entered FDOP mode.
boolean customProcessEndOfFDOPmode(Portfolio p,
PointInputDevice pid,
int button)
pid - button -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||