Package clickDetector.tdPlots
Class ClickHidingDialog
java.lang.Object
PamView.hidingpanel.HidingDialogComponent
clickDetector.tdPlots.ClickHidingDialog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHide()
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.getIcon()
A small icon around 18x18 pixels.getName()
A short name - gets used when multiple components need to be tabbed up.boolean
hasMore()
Sliding dialog has more options.void
void
showComponent
(boolean visible) Called when the component is about to be set visible or hidden.boolean
showMore
(HidingDialog hidingDialog) Get's called from the More button, which shows if hasMore is returning true.Methods inherited from class PamView.hidingpanel.HidingDialogComponent
addChangeListener, notifyChangeListeners, removeChangeListener, repackDisplay
-
Constructor Details
-
ClickHidingDialog
-
-
Method Details
-
createClickList
-
getComponent
- Specified by:
getComponent
in classHidingDialogComponent
- Returns:
- component to show in the hiding dialog panel
-
canHide
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 classHidingDialogComponent
- Returns:
- true if the panel can be hidden.
-
showComponent
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 classHidingDialogComponent
-
selectColourButton
public void selectColourButton() -
getName
Description copied from class:HidingDialogComponent
A short name - gets used when multiple components need to be tabbed up.- Specified by:
getName
in classHidingDialogComponent
- Returns:
-
hasMore
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 classHidingDialogComponent
- Returns:
- true if there are more options to show.
-
showMore
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 classHidingDialogComponent
- Returns:
-
getIcon
Description copied from class:HidingDialogComponent
A small icon around 18x18 pixels. This is used for tabs to allow users to quickly identify the control panel. Can be null if no symbol is needed- Overrides:
getIcon
in classHidingDialogComponent
-