Package com.luciad.view.gxy.painter


package com.luciad.view.gxy.painter

Painter and editor classes for rendering and visually editing objects in an ILcdGXYView.

Many painters have a number of mode flags in various method arguments and painter settings. By way of overview, these are the most important types of modes that may be encountered:

  • aRenderMode (used by ILcdGXYPainter):
      this mode is used to define how an object should be rendered. It is a combined value of the flags defined by the interface ILcdGXYPainter.

  • aRenderMode (used by ILcdGXYEditor):
      this mode is used to define how an object should be edited. It is a combined value of the flags defined by the interface ILcdGXYEditor.

  • aDefaultMode, aSelectionMode, aEditMode (used by ALcdGXYAreaPainter):
      this mode is used to define how an object should be painted. It can be one of the values defined by the abstract class itself, FILLED, OUTLINED or OUTLINED_FILLED, or by extension of the class. For example: the circle painter can paint its objects (circles) outlined, filled or outlined_filled. The value of the selection mode defines how the painter paints a selected circle.

  • aCreationMode:
      this mode is used to define how an object should be created. The values are defined by some of the ILcdGXYEditor implementations. For example: TLcdGXYArcPainter has the modes TWO_CLICK, THREE_CLICK and FIVE_CLICK. The mode chosen for the painter indicates how many clicks are required to fully initialize an arc.

Since:
1.0