Skip navigation links

Package draw.palette

Classes that model desired actions by user initiated with the mouse.

See: Description

Package draw.palette Description

Classes that model desired actions by user initiated with the mouse.

Currently, two actions initiated by the mouse are:

  1. Create -- Create a new element, based on the active tool.
  2. Select -- Select an existing element.

Each PaletteEntry has a visible presence with two icons -- a normal one and a selected one. These PaletteEntry objects are meant to model the actions. The real behaviors are encoded within the draw.controller.handler package.

The mouse behavior supports press, followed by a drag, with a final release to signal the completion of an activity. Move events are supported to provide, for example, the ability to change the mouse cursor when the mouse moves over a specific region.

Since:
1.0
Skip navigation links