|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.swing.tool.Tool com.levigo.jadice.swing.pageview.GalleryNavigationTool
public class GalleryNavigationTool
A navigation tool in the style used by some web galleries.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.levigo.jadice.swing.tool.Tool |
---|
Tool.ActivationRequest |
Field Summary | |
---|---|
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 . |
Fields inherited from class com.levigo.jadice.swing.tool.Tool |
---|
DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY |
Constructor Summary | |
---|---|
GalleryNavigationTool()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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.
Constructor Detail |
---|
public GalleryNavigationTool()
Method Detail |
---|
public void setBorder(Border border)
border
- public void setOpaque(boolean opaque)
opaque
- public void setBackground(Color background)
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |