public abstract class AbstractUIDetails extends AbstractBasicDetails implements UIDetails
UIDetails
implementations.APPLICATION_MENU_ROOT
Constructor and Description |
---|
AbstractUIDetails() |
Modifier and Type | Method and Description |
---|---|
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.
|
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, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, getDescription, getLabel, is, set, setDescription, setLabel
public String toString()
toString
in class AbstractBasicDetails
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
public boolean isVisible()
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 double getPriority()
Prioritized
getPriority
in interface Prioritized
Priority
public void setPriority(double priority)
Prioritized
setPriority
in interface Prioritized
Priority
Copyright © 2015–2022 SciJava. All rights reserved.