com.iver.cit.gvsig.gui.Panels
Class PropertiesWCSDialog

java.lang.Object
  extended byFilterRasterDialogPanel
      extended bycom.iver.cit.gvsig.gui.Panels.PropertiesWCSDialog

public class PropertiesWCSDialog
extends FilterRasterDialogPanel

Dialog for the properties of a WCS layer. It manages the avants and aplies filters to the raster through the filter stack manager according to the user's selection. This dialog contains some panels.

Author:
Nacho Brodin (brodin_ign@gva.es)
See Also:
Serialized Form

Nested Class Summary
 class PropertiesWCSDialog.DriverFileFilter
           
 
Constructor Summary
PropertiesWCSDialog()
          Dialog window constructor.
PropertiesWCSDialog(FLyrWCS layer, int[][] rangeR, int[][] rangeG, int[][] rangeB)
          Dialog window constructor.
 
Method Summary
 void addNumBands(int numBands)
          Añade bandas al contador de bandas del FilterRasterDialogPanel
 void closeJDialog()
           
 int getAssignedBand(int flag)
           
 java.awt.Container getContentPane()
          This method initializes jContentPane
 ViewInfo getViewInfo()
           
 boolean processBandPanel()
          Pressing OK with the bands panel selected makes its values to be processed.
 boolean processEnhancedPanel()
          Pressing OK with the enhancement panel selected makes its values to be processed.
 boolean processTransparencyPanel()
          Pressing OK with the transparency panel selected makes its values to be processed.
 void readStat()
          Saves the initial state to restore it if cancel.
 void setFLyrWCS(FLyrWCS layer)
          Assigns a FLayerRaster
 void setProjection(IProjection prj)
          Sets a projection.
 void setRasterFilterStackManager(RasterFilterStackManager stackManager)
          Sets the RasterFilterStackManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesWCSDialog

public PropertiesWCSDialog(FLyrWCS layer,
                           int[][] rangeR,
                           int[][] rangeG,
                           int[][] rangeB)
Dialog window constructor.


PropertiesWCSDialog

public PropertiesWCSDialog()
Dialog window constructor.

Method Detail

setFLyrWCS

public void setFLyrWCS(FLyrWCS layer)
Assigns a FLayerRaster

Parameters:
layer - capa a asignar

addNumBands

public void addNumBands(int numBands)
Añade bandas al contador de bandas del FilterRasterDialogPanel

Parameters:
numBands - Número de bandas a añadir

readStat

public void readStat()
Saves the initial state to restore it if cancel.


getContentPane

public java.awt.Container getContentPane()
This method initializes jContentPane


setProjection

public void setProjection(IProjection prj)
Sets a projection.

Parameters:
prj -

closeJDialog

public void closeJDialog()

setRasterFilterStackManager

public void setRasterFilterStackManager(RasterFilterStackManager stackManager)
Sets the RasterFilterStackManager

Parameters:
stackManager -

getAssignedBand

public int getAssignedBand(int flag)
Parameters:
flag -
Returns:

processBandPanel

public boolean processBandPanel()
Pressing OK with the bands panel selected makes its values to be processed.

Returns:
true if the bands panel was selected and the action is processed, false it was not selected.

processTransparencyPanel

public boolean processTransparencyPanel()
Pressing OK with the transparency panel selected makes its values to be processed.

Returns:
true if the transparency panel was selected and the action is processed, false it was not selected.

processEnhancedPanel

public boolean processEnhancedPanel()
Pressing OK with the enhancement panel selected makes its values to be processed.

Returns:
true if the enhancement panel was selected and the action is processed, false it was not selected.

getViewInfo

public ViewInfo getViewInfo()
See Also:
com.iver.mdiApp.ui.MDIManager.View#getViewInfo()