ucar.unidata.ui.symbol
Class PropertiesDialog

java.lang.Object
  extended by ucar.unidata.ui.symbol.PropertiesDialog
All Implemented Interfaces:
ActionListener, EventListener

public class PropertiesDialog
extends Object
implements ActionListener

Manages the properties dialog for MetSymbol-s

Version:
$Revision: 1.43 $
Author:
IDV Development Team

Constructor Summary
PropertiesDialog(List<MetSymbol> selected, StationModelCanvas canvas)
           
PropertiesDialog(MetSymbol symbol, StationModelCanvas canvas)
          Create a new PropertiesDialog
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Handle the action
 void close()
          Close the dialog
protected  void doApply()
          Apply the properties
protected  void doApply(MetSymbol symbol)
           
protected  void doApplyColorSettings(MetSymbol symbol)
           
 void doMakeContents()
          Make the gui
 boolean doMultiple()
           
 void show()
          Show the dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesDialog

public PropertiesDialog(MetSymbol symbol,
                        StationModelCanvas canvas)
Create a new PropertiesDialog

Parameters:
symbol - The symbol
canvas - The canvas

PropertiesDialog

public PropertiesDialog(List<MetSymbol> selected,
                        StationModelCanvas canvas)
Method Detail

doMultiple

public boolean doMultiple()

close

public void close()
Close the dialog


show

public void show()
Show the dialog


actionPerformed

public void actionPerformed(ActionEvent ae)
Handle the action

Specified by:
actionPerformed in interface ActionListener
Parameters:
ae - The action

doApply

protected void doApply()
                throws Exception
Apply the properties

Throws:
Exception - when bad things happen

doApplyColorSettings

protected void doApplyColorSettings(MetSymbol symbol)
                             throws Exception
Throws:
Exception

doApply

protected void doApply(MetSymbol symbol)
                throws Exception
Throws:
Exception

doMakeContents

public void doMakeContents()
Make the gui