|
|||||||||
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 Object
public String getTitle()
UIDetails
getTitle
in interface UIDetails
public MenuPath getMenuPath()
UIDetails
getMenuPath
in interface UIDetails
public String getMenuRoot()
UIDetails
getMenuRoot
in interface UIDetails
public String getIconPath()
UIDetails
getIconPath
in interface UIDetails
public boolean isEnabled()
UIDetails
isEnabled
in interface UIDetails
public boolean isVisible()
UIDetails
isVisible
in interface UIDetails
public boolean isSelectable()
UIDetails
isSelectable
in interface UIDetails
public String getSelectionGroup()
UIDetails
getSelectionGroup
in interface UIDetails
public boolean isSelected()
UIDetails
isSelected
in interface UIDetails
public void setMenuPath(MenuPath menuPath)
UIDetails
setMenuPath
in interface UIDetails
public void setMenuRoot(String menuRoot)
UIDetails
setMenuRoot
in interface UIDetails
public void setIconPath(String iconPath)
UIDetails
setIconPath
in interface UIDetails
public void setEnabled(boolean enabled)
UIDetails
setEnabled
in interface UIDetails
public void setVisible(boolean visible)
UIDetails
setVisible
in interface UIDetails
public void setSelectable(boolean selectable)
UIDetails
setSelectable
in interface UIDetails
public void setSelectionGroup(String selectionGroup)
UIDetails
setSelectionGroup
in interface UIDetails
public void setSelected(boolean selected)
UIDetails
setSelected
in interface UIDetails
public String getName()
BasicDetails
getName
in interface BasicDetails
public String getLabel()
BasicDetails
getLabel
in interface BasicDetails
public String getDescription()
BasicDetails
getDescription
in interface BasicDetails
public void setName(String name)
BasicDetails
setName
in interface BasicDetails
public void setLabel(String label)
BasicDetails
setLabel
in interface BasicDetails
public void setDescription(String description)
BasicDetails
setDescription
in interface BasicDetails
public double getPriority()
Prioritized
getPriority
in interface Prioritized
Priority
public void setPriority(double priority)
Prioritized
setPriority
in interface Prioritized
Priority
public 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 |