Class Mask

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class Mask extends JPanel
Implements a tab to modify attributes of a mask as style,size and symbol (to represent a point in the map)which can be applied to symbols like simple text, simple marker,picture marker and character marker.

This tab is used several times in different places in our applicattion .For this reason, in order to avoid the repetition of code, this class has been created (instead of treat it like a simple tab). With this solution, the user only has to refer it to use it (and do not need to create a tab and fill it again and so on).

Author:
jaume dominguez faus - jaume.dominguez@iver.es
See Also:
  • Constructor Details

    • Mask

      public Mask(AbstractTypeSymbolEditor owner)
      Constructor method that initializes the parameters to create a tab to modify attributes of a mask for points such as style,size and symbol (to represent a point in the map).
      Parameters:
      owner -
  • Method Details

    • setModel

      public void setModel(org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.IMask mask)
      Sets the graphical component that shows the properties of the model.
      Parameters:
      mask -
    • getMask

      public org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.IMask getMask()
      Returns an IMask or null depending on the option that the user had decided (if he wants a mask or not)in the tab "mask" inside the panel to edit the properities of a symbol (SymbolEditor). If the user wants it, a new IMask is created.
      Returns: