com.azalient.api.ui.edit
Interface IDemandEditor


public interface IDemandEditor

An interface to the demand editing window


Method Summary
 IMatrix addMatrix()
          Add a demand matrix, just as if the "Add Matrix..." button was pressed
 IMatrix addMatrix(TripMode lockedMode)
          Add a demand matrix, pre-selecting the mode of the demand
 IVolume addVolume()
          Add a demand volume, just as if the "Add Volume..." button was pressed
 IVolume addVolume(TripMode lockedMode)
          Add a demand volume, pre-selecting the mode of the demand
 JFrame raise()
          Raise the demand editor window, leaving it on the same tab as was previously selected
 IPlace selectedDestination()
          Returns the destination area/zone currently selected in the table for the demand matrix or volume
 void selectedDestination(IPlace p)
          Sets the selected destination area/zone in the table for the demand matrix or volume
 IPlace selectedOrigin()
          Returns the origin area/zone currently selected in the table for the demand matrix or volume
 void selectedOrigin(IPlace p)
          Sets the selected origin area/zone in the table for the demand matrix or volume
 JFrame show(int tabIndex)
          Raise the demand editor window, and select one of its tabs, by the given index
 

Method Detail

raise

JFrame raise()
Raise the demand editor window, leaving it on the same tab as was previously selected


show

JFrame show(int tabIndex)
Raise the demand editor window, and select one of its tabs, by the given index


addVolume

IVolume addVolume()
Add a demand volume, just as if the "Add Volume..." button was pressed


addMatrix

IMatrix addMatrix()
Add a demand matrix, just as if the "Add Matrix..." button was pressed


addVolume

IVolume addVolume(TripMode lockedMode)
Add a demand volume, pre-selecting the mode of the demand


addMatrix

IMatrix addMatrix(TripMode lockedMode)
Add a demand matrix, pre-selecting the mode of the demand


selectedOrigin

IPlace selectedOrigin()
Returns the origin area/zone currently selected in the table for the demand matrix or volume


selectedDestination

IPlace selectedDestination()
Returns the destination area/zone currently selected in the table for the demand matrix or volume


selectedOrigin

void selectedOrigin(IPlace p)
Sets the selected origin area/zone in the table for the demand matrix or volume


selectedDestination

void selectedDestination(IPlace p)
Sets the selected destination area/zone in the table for the demand matrix or volume