Class HiddenSlider


public class HiddenSlider extends HidingDialogComponent
  • Constructor Details Link icon

    • HiddenSlider Link icon

      public HiddenSlider(SimpleMap simpleMap)
  • Method Details Link icon

    • setLogScale Link icon

      public void setLogScale(boolean logScale)
    • setMaxTimeSeconds Link icon

      public void setMaxTimeSeconds(int timeSeconds)
      Set the maximum time for the slider.
      Parameters:
      timeSeconds - maximum time in seconds.
    • getComponent Link icon

      public JComponent getComponent()
      Specified by:
      getComponent in class HidingDialogComponent
      Returns:
      component to show in the hiding dialog panel
    • canHide Link icon

      public boolean canHide()
      Description copied from class: HidingDialogComponent
      Can hide - generally this should return true if at all possible however you may need to stop it hiding if any controls are in an impossible state. This function also gives users an opportunity to check / use any dialog parameters.
      Specified by:
      canHide in class HidingDialogComponent
      Returns:
      true if the panel can be hidden.
    • showComponent Link icon

      public void showComponent(boolean visible)
      Description copied from class: HidingDialogComponent
      Called when the component is about to be set visible or hidden.
      Specified by:
      showComponent in class HidingDialogComponent
    • getName Link icon

      public String getName()
      Description copied from class: HidingDialogComponent
      A short name - gets used when multiple components need to be tabbed up.
      Specified by:
      getName in class HidingDialogComponent
      Returns:
    • hasMore Link icon

      public boolean hasMore()
      Description copied from class: HidingDialogComponent
      Sliding dialog has more options. If this returns true a 'more' button will show next to the pin which can be used to open a more complex dialog.
      Overrides:
      hasMore in class HidingDialogComponent
      Returns:
      true if there are more options to show.
    • showMore Link icon

      public boolean showMore(HidingDialog hidingDialog)
      Description copied from class: HidingDialogComponent
      Get's called from the More button, which shows if hasMore is returning true. Can be used to show an evenmore exciting dialog.
      Overrides:
      showMore in class HidingDialogComponent
      Returns: