List of all members.
Classes |
class | KeyListenerImplementation |
class | MouseListenerImplementation |
class | MouseMoveListenerImplementation |
class | MouseWheelListenerImplementation |
class | PaintListenerImplementation |
Public Member Functions |
| HoopsSwtCanvas (final Composite parent, final int style) |
| Constructor which sets the value of initDone variable to false.
|
void | dispose () |
HBaseModel | getModel () |
HBaseView | getView () |
void | init () |
| Initializes the HBaseView object and the m_HView key.
|
int | mapFlags (final MouseEvent e) |
| Maps the GUI-specific mouse/key state flags to HOOPS/MVO abstracted flags.
|
int | mapKeyFlags (final KeyEvent e) |
| Maps the GUI-specific key state flags to HOOPS/MVO abstracted flags.
|
void | SetCurrentOperator (HBaseOperator new_operator) |
| Deletes the current operator associated with the HBaseView object (if any) and resets the HBaseView's current operator to the new one.
|
Protected Member Functions |
HBaseModel | createDefaultModel () |
| Factory method for the default HOOPS/MVO model.
|
HBaseView | createView (final HBaseModel model) |
| Factory method for the HOOPS/MVO m_HView on the given model.
|
Protected Attributes |
final HBaseModel | m_HModel |
HBaseView | m_HView |
| A reference to the HBaseView object associated with the canvas.
|
HSelectionSet | m_HSelectionSet |
Object | m_HOperator |
Member Function Documentation
HBaseModel com.techsoft.hoops.HoopsSwtCanvas.createDefaultModel |
( |
| ) |
[protected] |
Factory method for the default HOOPS/MVO model.
The model has to be initialized.
- Returns:
- A newly created and initialized model.
Factory method for the HOOPS/MVO m_HView on the given model.
The m_HView has to be initialized.
- Returns:
- A newly created and initialized m_HView.
HBaseView com.techsoft.hoops.HoopsSwtCanvas.getView |
( |
| ) |
|
- Returns:
- The HBaseView object associated with the canvas. The object is null until first paint.
void com.techsoft.hoops.HoopsSwtCanvas.init |
( |
| ) |
|
Initializes the HBaseView object and the m_HView key.
When overridden, the inherited method must be called.
Should not be called directly.
int com.techsoft.hoops.HoopsSwtCanvas.mapFlags |
( |
final MouseEvent |
e | ) |
|
Maps the GUI-specific mouse/key state flags to HOOPS/MVO abstracted flags.
- Parameters:
-
e | Provides data for the org.eclipse.swt.events.MouseEvent event |
- Returns:
- variable indicating which MouseButton and Modifier Key is pressed
int com.techsoft.hoops.HoopsSwtCanvas.mapKeyFlags |
( |
final KeyEvent |
e | ) |
|
Maps the GUI-specific key state flags to HOOPS/MVO abstracted flags.
- Parameters:
-
e | Provides data for the org.eclipse.swt.events.KeyEvent event |
- Returns:
- variable indicating which modifier key is pressed
void com.techsoft.hoops.HoopsSwtCanvas.SetCurrentOperator |
( |
HBaseOperator |
new_operator | ) |
|
Deletes the current operator associated with the HBaseView object (if any) and resets the HBaseView's current operator to the new one.
- Parameters:
-
new_operator | A reference to an HBaseOperator object to be used as the new operator |
The documentation for this class was generated from the following file: