public class GalleryNavigationTool extends Tool
Tool.ActivationRequest
Modifier and Type | Field and Description |
---|---|
static Insets |
INSETS |
static String |
KEY_NEXT_PAGE_COMMAND
A key which is used to query the
UIManager for an instance of InjectedCommand . |
static String |
KEY_PREVIOUS_PAGE_COMMAND
A key which is used to query the
UIManager for an instance of InjectedCommand . |
DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
GalleryNavigationTool() |
Modifier and Type | Method and Description |
---|---|
Color |
getDisabledColor() |
Color |
getEnabledColor() |
float |
getFlyoutZonePercent() |
Color |
getRolloverColor() |
protected void |
handleMouseMoved(MouseEditEvent e,
boolean isActive)
Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
|
boolean |
isShowAlways() |
void |
setBackground(Color background)
Set the flyout's background color.
|
void |
setBorder(Border border)
Set the flyout's border.
|
void |
setDisabledColor(Color disabledColor) |
void |
setEnabledColor(Color enabledColor) |
void |
setFlyoutZonePercent(float flyoutZonePercent) |
protected void |
setManager(ToolManager manager)
Receives the
ToolManager instance, which the Tool implementation has been
registered for. |
void |
setOpaque(boolean opaque)
Set the flyout's opacity.
|
void |
setRolloverColor(Color rolloverColor) |
void |
setShowAlways(boolean showAlways) |
contribute, getActivationFeedback, getActivationRequest, getActivationRequestForKeyPressed, getActivationRequestForMouseDragged, getActivationRequestForMousePressed, getCursor, getDispatchPriority, getManager, getRenderPriority, handleEditEvent, handleKeyPressed, handleKeyReleased, handleKeyTyped, handleMouseClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMousePressed, handleMouseReleased, handleMouseWheelMoved, propagatePropertyChange, render, setActive, setCursor, setEnabled, setStatusFeedback
public static final String KEY_NEXT_PAGE_COMMAND
UIManager
for an instance of InjectedCommand
.
This command is executed when this Tool's "next" Button is clicked. If no command was found
under that key, the default functionality is performed.public static final String KEY_PREVIOUS_PAGE_COMMAND
UIManager
for an instance of InjectedCommand
.
This command is executed when this Tool's "previous" Button is clicked. If no command was found
under that key, the default functionality is performed.public static final Insets INSETS
public void setBorder(Border border)
public void setOpaque(boolean opaque)
public void setBackground(Color background)
protected void setManager(ToolManager manager)
Tool
ToolManager
instance, which the Tool
implementation has been
registered for. If the Tool
is deregistered
this
method will be called with null.setManager
in class Tool
protected void handleMouseMoved(MouseEditEvent e, boolean isActive)
Tool
handleMouseMoved
in class Tool
isActive
- whether this tool is currently activepublic boolean isShowAlways()
public void setShowAlways(boolean showAlways)
public void setRolloverColor(Color rolloverColor)
public void setEnabledColor(Color enabledColor)
public void setDisabledColor(Color disabledColor)
public Color getRolloverColor()
public Color getEnabledColor()
public Color getDisabledColor()
public float getFlyoutZonePercent()
public void setFlyoutZonePercent(float flyoutZonePercent)
Copyright © 2024 levigo holding gmbh. All rights reserved.