|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 |
getDescription()
Gets a string describing the object. |
String |
getIconPath()
Gets the resource path to an icon representing the object. |
String |
getLabel()
Gets the name to appear in a UI, if applicable. |
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. |
String |
getName()
Gets the unique name of the object. |
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 |
setDescription(String description)
Sets a string describing the object. |
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 |
setLabel(String label)
Sets the name to appear in a UI, if applicable. |
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 |
setName(String name)
Sets the unique name of the object. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUIDetails()
| Method Detail |
|---|
public String toString()
toString in class Objectpublic 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 String getName()
BasicDetails
getName in interface BasicDetailspublic String getLabel()
BasicDetails
getLabel in interface BasicDetailspublic String getDescription()
BasicDetails
getDescription in interface BasicDetailspublic void setName(String name)
BasicDetails
setName in interface BasicDetailspublic void setLabel(String label)
BasicDetails
setLabel in interface BasicDetailspublic void setDescription(String description)
BasicDetails
setDescription in interface BasicDetailspublic 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 | ||||||||