public class InternalNodeTypeCategory extends Object implements JIPipeNodeTypeCategory
Constructor and Description |
---|
InternalNodeTypeCategory() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExtract()
Returns if the node can be extracted (copied) from the graph
|
Color |
getBorderColor()
The border color for algorithm nodes
|
Color |
getDarkBorderColor()
The border color for algorithm nodes (dark theme)
|
Color |
getDarkFillColor()
The fill color for algorithm nodes (dark theme)
|
String |
getDescription()
A description
|
Color |
getFillColor()
The fill color for algorithm nodes
|
Icon |
getIcon()
Icon shown in the UI
|
String |
getId()
Unique identifier of this category
|
String |
getName()
The name displayed in menus and other UI
|
int |
getUIOrder()
Categories are sorted by this value (lower value = first)
|
boolean |
isRunnable()
Returns true if nodes of this category can be run in a single run
|
boolean |
isVisibleInCompartmentGraph()
If the category should be available in the compartment graph editor
|
boolean |
isVisibleInGraphCompartment()
If the category should be available in the graph compartment editor
|
boolean |
userCanCreate()
Returns if nodes of this category can be created by users
|
boolean |
userCanDelete()
Returns if nodes of this category can be deleted by users
|
public String getId()
JIPipeNodeTypeCategory
getId
in interface JIPipeNodeTypeCategory
public String getName()
JIPipeNodeTypeCategory
getName
in interface JIPipeNodeTypeCategory
public String getDescription()
JIPipeNodeTypeCategory
getDescription
in interface JIPipeNodeTypeCategory
public int getUIOrder()
JIPipeNodeTypeCategory
getUIOrder
in interface JIPipeNodeTypeCategory
public Icon getIcon()
JIPipeNodeTypeCategory
getIcon
in interface JIPipeNodeTypeCategory
public Color getFillColor()
JIPipeNodeTypeCategory
getFillColor
in interface JIPipeNodeTypeCategory
public Color getBorderColor()
JIPipeNodeTypeCategory
getBorderColor
in interface JIPipeNodeTypeCategory
public Color getDarkFillColor()
JIPipeNodeTypeCategory
getDarkFillColor
in interface JIPipeNodeTypeCategory
public Color getDarkBorderColor()
JIPipeNodeTypeCategory
getDarkBorderColor
in interface JIPipeNodeTypeCategory
public boolean isVisibleInGraphCompartment()
JIPipeNodeTypeCategory
isVisibleInGraphCompartment
in interface JIPipeNodeTypeCategory
public boolean isVisibleInCompartmentGraph()
JIPipeNodeTypeCategory
isVisibleInCompartmentGraph
in interface JIPipeNodeTypeCategory
public boolean userCanCreate()
JIPipeNodeTypeCategory
userCanCreate
in interface JIPipeNodeTypeCategory
public boolean userCanDelete()
JIPipeNodeTypeCategory
userCanDelete
in interface JIPipeNodeTypeCategory
public boolean isRunnable()
JIPipeNodeTypeCategory
isRunnable
in interface JIPipeNodeTypeCategory
public boolean canExtract()
JIPipeNodeTypeCategory
canExtract
in interface JIPipeNodeTypeCategory
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.