Class MetadataInfoManager

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.gvsig.propertypage.PropertiesPage, org.gvsig.tools.swing.api.Component

public class MetadataInfoManager extends AbstractThemeManagerPage
See Also:
  • Constructor Details

    • MetadataInfoManager

      public MetadataInfoManager()
      This is the default constructor.
  • Method Details

    • setModel

      public void setModel(org.gvsig.fmap.mapcontext.layers.FLayer layer)
      Sets the necessary properties in the panel. This properties are extracted from the layer. With this properties fills the TextFields, ComboBoxes and the rest of GUI components.
      Specified by:
      setModel in class AbstractThemeManagerPage
      Parameters:
      layer - , the target FLayer
      FLayer - layer,
    • acceptAction

      public void acceptAction()
      Description copied from class: AbstractThemeManagerPage

      Method invoked when the Ok button is pressed from the ThemeManagerWindow. It will cause the changes performed by the user to take effect into the layer if the Apply button wasn't pressed yet. In case Apply button was pressed, then the programmer can choose between apply the changes again or not.

      It shouldn't be a problem rather than the potential consumption of time required in when applying such changes.

      Notice that after the call of this method the ThemeManagerWindow will be closed.

      Specified by:
      acceptAction in class AbstractThemeManagerPage
    • cancelAction

      public void cancelAction()
      Description copied from class: AbstractThemeManagerPage

      Method invoked when the Cancel button is pressed from the ThemeManagerWindow. It will cause that the changes performed will be discarded.

      Specified by:
      cancelAction in class AbstractThemeManagerPage
    • applyAction

      public void applyAction()
      When we press the apply button, sets the new properties of the layer that the user modified using the UI components
      Specified by:
      applyAction in class AbstractThemeManagerPage
    • getName

      public String getName()
      Description copied from class: AbstractThemeManagerPage
      Returns the name of this ThemeManagerPage's tab, the text returned by this method will be shown in the text of this panel's tab.
      Specified by:
      getName in class AbstractThemeManagerPage