org.esa.beam.visat.actions
Class ExportLegendImageAction.ImageLegendDialog

java.lang.Object
  extended by org.esa.beam.framework.ui.AbstractDialog
      extended by org.esa.beam.framework.ui.ModalDialog
          extended by org.esa.beam.visat.actions.ExportLegendImageAction.ImageLegendDialog
Enclosing class:
ExportLegendImageAction

public static class ExportLegendImageAction.ImageLegendDialog
extends ModalDialog


Field Summary
 
Fields inherited from class org.esa.beam.framework.ui.ModalDialog
ID_OK_APPLY_CANCEL, ID_OK_APPLY_CANCEL_HELP, ID_OK_CANCEL, ID_OK_CANCEL_HELP, ID_YES_NO, ID_YES_NO_HELP
 
Fields inherited from class org.esa.beam.framework.ui.AbstractDialog
ID_APPLY, ID_CANCEL, ID_CLOSE, ID_HELP, ID_NO, ID_OK, ID_OTHER, ID_RESET, ID_YES
 
Constructor Summary
ExportLegendImageAction.ImageLegendDialog(VisatApp visatApp, ParamGroup paramGroup, ImageLegend imageLegend, boolean transparencyEnabled)
           
 
Method Summary
 ImageInfo getImageInfo()
           
 void getImageLegend(ImageLegend imageLegend)
           
 ParamGroup getParamGroup()
           
 boolean isTransparencyEnabled()
           
protected  void onOK()
          Called if the "OK" button has been clicked.
 void setHeaderText(String text)
           
 void setTransparencyEnabled(boolean transparencyEnabled)
           
 
Methods inherited from class org.esa.beam.framework.ui.ModalDialog
close
 
Methods inherited from class org.esa.beam.framework.ui.AbstractDialog
center, collectButtons, getButton, getButtonID, getButtonMask, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, show, showErrorDialog, showInformationDialog, showWarningDialog, verifyUserInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportLegendImageAction.ImageLegendDialog

public ExportLegendImageAction.ImageLegendDialog(VisatApp visatApp,
                                                 ParamGroup paramGroup,
                                                 ImageLegend imageLegend,
                                                 boolean transparencyEnabled)
Method Detail

getParamGroup

public ParamGroup getParamGroup()

setHeaderText

public void setHeaderText(String text)

isTransparencyEnabled

public boolean isTransparencyEnabled()

setTransparencyEnabled

public void setTransparencyEnabled(boolean transparencyEnabled)

getImageLegend

public void getImageLegend(ImageLegend imageLegend)

getImageInfo

public ImageInfo getImageInfo()

onOK

protected void onOK()
Description copied from class: AbstractDialog
Called if the "OK" button has been clicked. The default implementation calls AbstractDialog.hide(). Clients should override this method to implement meaningful behaviour.

Overrides:
onOK in class AbstractDialog


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.