Class HidingDialogPanel

java.lang.Object
PamView.hidingpanel.HidingDialogPanel

public class HidingDialogPanel extends Object
Something similar to the hiding panel, but doesn't get put into an existing panel, but rather floats over the top. In effect, it's it's own frame, but with no control bar so it can't be moved. Will be positioned relative to it's trigger window, but will move up or down left or right to ensure it stays within the screen coordinates.
Author:
Doug Gillespie
  • Field Details Link icon

    • outCount Link icon

      public int outCount
  • Constructor Details Link icon

    • HidingDialogPanel Link icon

      public HidingDialogPanel(int startLocation, HidingDialogComponent dialogComponent)
  • Method Details Link icon

    • getHidingDialogComponent Link icon

      public HidingDialogComponent getHidingDialogComponent()
      Returns:
      the hidingDialogComponent
    • getSizingComponent Link icon

      public JComponent getSizingComponent()
      Returns:
      the sizingComponent
    • setSizingComponent Link icon

      public void setSizingComponent(JComponent sizingComponent)
      Parameters:
      sizingComponent - the sizingComponent to set
    • setHiddenToolTipText Link icon

      public void setHiddenToolTipText(String tipText)
      Set tool tip text for the show button
      Parameters:
      tipText - tool tip text for the show button.
    • getStartLocation Link icon

      public int getStartLocation()
      Returns:
      the startLocation
    • showHidingDialog Link icon

      public void showHidingDialog(boolean show)
      show the hiding dialog
    • getHidingDialog Link icon

      public HidingDialog getHidingDialog()
    • setDialogPosition Link icon

      public void setDialogPosition()
    • setStartLocation Link icon

      public void setStartLocation(int startLocation)
      Parameters:
      startLocation - the startLocation to set
    • getShowButton Link icon

      public JButton getShowButton()
      Returns:
      the showButton
    • getAutoHideTime Link icon

      public int getAutoHideTime()
      The time to wait before hiding the dialog after the mouse has moved off of it
      Returns:
      the autoHideTime
    • setAutoHideTime Link icon

      public void setAutoHideTime(int autoHideTime)
      The time to wait before hiding the dialog after the mouse has moved off of it
      Parameters:
      autoHideTime - the autoHideTime to set in milliseconds
    • isAutoShow Link icon

      public boolean isAutoShow()
      ? auto show the dialog as soon as the mouse moves over the showButton
      Returns:
      the autoShow
    • setAutoShow Link icon

      public void setAutoShow(boolean autoShow)
      Set to auto show the dialog as soon as the mouse moves over the showButton
      Parameters:
      autoShow - the autoShow to set
    • isAutoHide Link icon

      public boolean isAutoHide()
      Should the dialog automatically disappear when the mouse moves off it ?
      Returns:
      the autoHide
    • setAutoHide Link icon

      public void setAutoHide(boolean autoHide)
      Should the dialog automatically disappear when the mouse moves off it ?
      Parameters:
      autoHide - the autoHide to set
    • getOpacity Link icon

      public float getOpacity()
      Returns:
      the opacity
    • setOpacity Link icon

      public void setOpacity(float opacity)
      Parameters:
      opacity - the opacity to set
    • isModality Link icon

      public boolean isModality()
      Returns:
      the modality
    • setModality Link icon

      public void setModality(boolean modality)
      Parameters:
      modality - the modality to set
    • getDefaultButtonInsets Link icon

      public static Insets getDefaultButtonInsets()