|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.scijava.AbstractBasicDetails
org.scijava.AbstractUIDetails
public abstract class AbstractUIDetails
Abstract superclass of UIDetails implementations.
| Field Summary |
|---|
| Fields inherited from interface org.scijava.UIDetails |
|---|
APPLICATION_MENU_ROOT |
| Constructor Summary | |
|---|---|
AbstractUIDetails()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.scijava.AbstractBasicDetails |
|---|
get, getDescription, getLabel, getName, is, set, setDescription, setLabel, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.scijava.BasicDetails |
|---|
get, getDescription, getLabel, is, set, setDescription, setLabel |
| Methods inherited from interface org.scijava.Named |
|---|
getName, setName |
| Constructor Detail |
|---|
public AbstractUIDetails()
| Method Detail |
|---|
public String toString()
toString in class AbstractBasicDetailspublic String getTitle()
UIDetails
getTitle in interface UIDetailspublic MenuPath getMenuPath()
UIDetails
getMenuPath in interface UIDetailspublic String getMenuRoot()
UIDetails
getMenuRoot in interface UIDetailspublic String getIconPath()
UIDetails
getIconPath in interface UIDetailspublic boolean isEnabled()
UIDetails
isEnabled in interface UIDetailspublic boolean isVisible()
UIDetails
isVisible in interface UIDetailspublic boolean isSelectable()
UIDetails
isSelectable in interface UIDetailspublic String getSelectionGroup()
UIDetails
getSelectionGroup in interface UIDetailspublic boolean isSelected()
UIDetails
isSelected in interface UIDetailspublic void setMenuPath(MenuPath menuPath)
UIDetails
setMenuPath in interface UIDetailspublic void setMenuRoot(String menuRoot)
UIDetails
setMenuRoot in interface UIDetailspublic void setIconPath(String iconPath)
UIDetails
setIconPath in interface UIDetailspublic void setEnabled(boolean enabled)
UIDetails
setEnabled in interface UIDetailspublic void setVisible(boolean visible)
UIDetails
setVisible in interface UIDetailspublic void setSelectable(boolean selectable)
UIDetails
setSelectable in interface UIDetailspublic void setSelectionGroup(String selectionGroup)
UIDetails
setSelectionGroup in interface UIDetailspublic void setSelected(boolean selected)
UIDetails
setSelected in interface UIDetailspublic double getPriority()
Prioritized
getPriority in interface PrioritizedPrioritypublic void setPriority(double priority)
Prioritized
setPriority in interface PrioritizedPrioritypublic int compareTo(Prioritized that)
compareTo in interface Comparable<Prioritized>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||