Package difar.display
Class DifarClipDecorations
java.lang.Object
clipgenerator.clipDisplay.ClipDisplayDecorations
difar.display.DifarClipDecorations
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDifarClipDecorations
(DifarControl difarControl, ClipDisplayUnit clipDisplayUnit) -
Method Summary
Modifier and TypeMethodDescriptionaddDisplayMenuItems
(JPopupMenu basicMenu) Add additional functionality to the popup menu on a display unit.void
Decorate the display - adding any additional panels and creating extra menus, etc.void
delete()
void
Can be used to decorate / draw on the clip panel axis.void
Can be used to decorate / draw on the clip panel axis.void
Edit the species list from the drop down menu.Get a background colour for the clipvoid
void
Remove any additional decorationsMethods inherited from class clipgenerator.clipDisplay.ClipDisplayDecorations
getClipDisplayUnit
-
Constructor Details
-
DifarClipDecorations
-
-
Method Details
-
decorateDisplay
public void decorateDisplay()Description copied from class:ClipDisplayDecorations
Decorate the display - adding any additional panels and creating extra menus, etc.- Overrides:
decorateDisplay
in classClipDisplayDecorations
-
removeDecoration
public void removeDecoration()Description copied from class:ClipDisplayDecorations
Remove any additional decorations- Overrides:
removeDecoration
in classClipDisplayDecorations
-
processClip
public void processClip() -
delete
public void delete() -
editSpeciesList
public void editSpeciesList()Edit the species list from the drop down menu. -
addDisplayMenuItems
Description copied from class:ClipDisplayDecorations
Add additional functionality to the popup menu on a display unit.- Overrides:
addDisplayMenuItems
in classClipDisplayDecorations
- Parameters:
basicMenu
- basic menu for clip display units- Returns:
- the modifies (or a completely different) menu
-
getClipBackground
Description copied from class:ClipDisplayDecorations
Get a background colour for the clip- Overrides:
getClipBackground
in classClipDisplayDecorations
- Returns:
- a background colour or null, in which case the standard PAMColour will be used.
-
drawOnClipAxis
Description copied from class:ClipDisplayDecorations
Can be used to decorate / draw on the clip panel axis.- Overrides:
drawOnClipAxis
in classClipDisplayDecorations
- Parameters:
g
- graphics handle.
-
drawOnClipBorder
Description copied from class:ClipDisplayDecorations
Can be used to decorate / draw on the clip panel axis.- Overrides:
drawOnClipBorder
in classClipDisplayDecorations
- Parameters:
g
- graphics handle.
-