Class InputContentHandler<T extends InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable>>

java.lang.Object
fr.ifremer.isisfish.ui.CommonHandler
fr.ifremer.isisfish.ui.input.InputContentHandler<T>
All Implemented Interfaces:
PropertyChangeListener, EventListener
Direct Known Subclasses:
CellHandler, EffortDescriptionHandler, EffortDescriptionParametersHandler, EntityVariableHandler, FisheryRegionHandler, GearHandler, GearTabHandler, InputOneEquationHandler, MetierHandler, MetierSeasonInfoSpeciesHandler, MetierSeasonInfoZoneHandler, MetierTabHandler, ObservationHandler, PopulationBasicsHandler, PopulationCapturabilityHandler, PopulationEquationHandler, PopulationGroupHandler, PopulationHandler, PopulationMigrationEmigrationHandler, PopulationMigrationEquationHandler, PopulationMigrationHandler, PopulationMigrationImmigrationHandler, PopulationMigrationMigrationHandler, PopulationPriceHandler, PopulationRecruitmentHandler, PopulationSeasonsHandler, PopulationSeasonSpacializedHandler, PopulationStockHandler, PopulationZonesHandler, PortHandler, RangeOfValuesHandler, SelectivityHandler, SetOfVesselsBasicsHandler, SetOfVesselsHandler, SpeciesHandler, SpeciesStructuredHandler, StrategyHandler, StrategyMonthInfoHandler, StrategyOneMonthInfoHandler, StrategyTabHandler, TripTypeHandler, VesselTypeHandler, ZoneBasicsHandler, ZoneHandler

public abstract class InputContentHandler<T extends InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable>> extends CommonHandler implements PropertyChangeListener
Common handler for all input ui.
  • Field Details

    • inputContentUI

      protected T extends InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable> inputContentUI
    • nextButton

      protected JButton nextButton
      Go to next button instance (when available).
  • Constructor Details

    • InputContentHandler

      protected InputContentHandler(T inputContentUI)
  • Method Details

    • accept

      public void accept(InputContentUI<?> inputContentUI, ActionEvent e)
      Action appelée lors du clic sur un layer (sensitivity).
      Parameters:
      inputContentUI - inputContentUI
      e - l'event initial intercepté par le layer
    • displayFactorWizard

      public void displayFactorWizard(InputContentUI<?> inputContentUI, Class<? extends org.nuiton.topia.persistence.TopiaEntityContextable> sensitivityBeanClass, String sensitivityBeanID, String sensitivityMethod)
    • setupGotoNextPath

      protected void setupGotoNextPath(String nextTitle, String nextPath)
      Ajout un bouton "Aller vers..." en bas de l'UI.
      Parameters:
      nextTitle - titre du boutton
      nextPath - path dans l'arbre
    • goTo

      protected void goTo(String nextPath)
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Fix layer for next button in "blocking state". Sensitivity value in unknown when setupGotoNextPath is called.
      Specified by:
      propertyChange in interface PropertyChangeListener