|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectt3.portfolios.commonbehaviours.CannotDragWRTParent
public class CannotDragWRTParent
This common behaviour does nothing and passes all events and notifications on to the portfolio. See PortfolioServer for more information on the event model.
Constructor Summary | |
---|---|
CannotDragWRTParent()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CannotDragWRTParent()
Method Detail |
---|
public boolean customProcessEventForThisPortfolioNotChildren(Portfolio p, PortfolioEvent e, boolean bubbled)
PortfolioCommonBehaviour
customProcessEventForThisPortfolioNotChildren
in interface PortfolioCommonBehaviour
e
- Eventbubbled
- True iff the event did not occur on this portfolio's tile but has been bubbled from one of its children.
public boolean customProcessFDOPevent(Portfolio p, PortfolioEvent e, double PORTxWhenEnteredFDOPmode, double PORTyWhenEnteredFDOPmode)
PortfolioCommonBehaviour
customProcessFDOPevent
in interface PortfolioCommonBehaviour
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.
public boolean customProcessEndOfFDOPmode(Portfolio p, PointInputDevice pid, int button)
PortfolioCommonBehaviour
customProcessEndOfFDOPmode
in interface PortfolioCommonBehaviour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |