public abstract class AbstractUIDetails extends AbstractBasicDetails implements UIDetails
UIDetails implementations.APPLICATION_MENU_ROOT| Constructor and Description |
|---|
AbstractUIDetails() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Prioritized that) |
String |
getIconPath()
Gets the resource path to an icon representing the object.
|
MenuPath |
getMenuPath()
Gets the path to the object's suggested position in the menu structure.
|
String |
getMenuRoot()
Gets the name of the menu structure to which the object belongs.
|
double |
getPriority()
Gets the sort priority of the object.
|
String |
getSelectionGroup()
Gets the name of the selection group to which the object belongs.
|
String |
getTitle()
Gets an appropriate title for the object, for use in a user interface.
|
boolean |
isEnabled()
Gets whether the object should be enabled in the user interface.
|
boolean |
isSelectable()
Gets whether the object can be selected (e.g., checking and unchecking its
menu item) in the user interface.
|
boolean |
isSelected()
Gets whether the object is selected (e.g., its menu item is checked) in the
user interface.
|
boolean |
isVisible()
Gets whether the object should be visible in the user interface.
|
void |
setEnabled(boolean enabled)
Sets whether the object should be enabled in the user interface.
|
void |
setIconPath(String iconPath)
Sets the resource path to an icon representing the object.
|
void |
setMenuPath(MenuPath menuPath)
Sets the path to the object's suggested position in the menu structure.
|
void |
setMenuRoot(String menuRoot)
Sets the name of the menu structure to which the object belongs.
|
void |
setPriority(double priority)
Sets the sort priority of the object.
|
void |
setSelectable(boolean selectable)
Sets whether the object can be selected (e.g., checking and unchecking its
menu item) in the user interface.
|
void |
setSelected(boolean selected)
Sets whether the object is selected (e.g., its menu item is checked) in the
user interface.
|
void |
setSelectionGroup(String selectionGroup)
Sets the name of the selection group to which the object belongs.
|
void |
setVisible(boolean visible)
Sets whether the object should be visible in the user interface.
|
String |
toString() |
get, getDescription, getLabel, getName, is, set, setDescription, setLabel, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, getDescription, getLabel, is, set, setDescription, setLabelpublic String toString()
toString in class AbstractBasicDetailspublic String getTitle()
UIDetailspublic MenuPath getMenuPath()
UIDetailsgetMenuPath in interface UIDetailspublic String getMenuRoot()
UIDetailsgetMenuRoot in interface UIDetailspublic String getIconPath()
UIDetailsgetIconPath in interface UIDetailspublic boolean isEnabled()
UIDetailspublic boolean isVisible()
UIDetailspublic boolean isSelectable()
UIDetailsisSelectable in interface UIDetailspublic String getSelectionGroup()
UIDetailsgetSelectionGroup in interface UIDetailspublic boolean isSelected()
UIDetailsisSelected in interface UIDetailspublic void setMenuPath(MenuPath menuPath)
UIDetailssetMenuPath in interface UIDetailspublic void setMenuRoot(String menuRoot)
UIDetailssetMenuRoot in interface UIDetailspublic void setIconPath(String iconPath)
UIDetailssetIconPath in interface UIDetailspublic void setEnabled(boolean enabled)
UIDetailssetEnabled in interface UIDetailspublic void setVisible(boolean visible)
UIDetailssetVisible in interface UIDetailspublic void setSelectable(boolean selectable)
UIDetailssetSelectable in interface UIDetailspublic void setSelectionGroup(String selectionGroup)
UIDetailssetSelectionGroup in interface UIDetailspublic void setSelected(boolean selected)
UIDetailssetSelected in interface UIDetailspublic double getPriority()
PrioritizedgetPriority in interface PrioritizedPrioritypublic void setPriority(double priority)
PrioritizedsetPriority in interface PrioritizedPrioritypublic int compareTo(Prioritized that)
compareTo in interface Comparable<Prioritized>compareTo in interface PrioritizedCopyright © 2009–2016 SciJava. All rights reserved.