t3.portfolios
Class PortfolioServer

java.lang.Object
  extended by t3.portfolios.PortfolioServer

public class PortfolioServer
extends java.lang.Object

Represents a Portfolio server, which uses a RemoteHRDServer and provides facilities such as portfolios and event handling.

Notes on the event model:

Keyboard events are dispatched to whichever portfolio was last pressed on by any PID of the person owning the keyboard.

Point input device (PID) events are generated when PID's state changes. Normally events are sent to the portfolio whose tile is underneath the PID, and may bubble up the portfolio hierarchy from there.

However, it is also possible to put the PID temporarily into FDOP (Follow Drag Outside Portfolio mode) by specifying a single portfolio to whom all events from that PID will be directed until a specified button is released.

The PID event system is further complicated because each portfolio has a PortfolioCommonBehaviour class which can filter events out of the stream to provide common functionality such as dragging portfolios.

The PID event system proceeds as follows: