public class PrioritySetDefinition extends ListenableNamedList<PriorityClass> implements UpdaterDefinition
Modifier and Type | Field and Description |
---|---|
static int |
DOWN |
Map<RegulatoryNode,PriorityClass[]> |
m_elt |
static int |
NONE |
static int |
UP |
modCount
USE_BIOLQM_UPDATERS
Constructor and Description |
---|
PrioritySetDefinition(List<RegulatoryNode> elts,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
add() |
int |
add(int i) |
void |
associate(RegulatoryNode node,
PriorityClass cl) |
void |
associate(RegulatoryNode node,
PriorityClass clUp,
PriorityClass clDown) |
int[][] |
getMovingRows(int key,
int[] index)
when moving a selection of class, they must move with other class of the same priority.
|
String |
getName() |
int[][] |
getPclass(List<org.colomoto.biolqm.NodeInfo> nodeOrder) |
SimulationUpdater |
getUpdater(org.colomoto.biolqm.LogicalModel model) |
void |
groupToggle(int[] ts)
toggle the selection grouping:
- if all selected items are part of the same group, it will be "ungrouped"
- if selected items are part of several groups, they will be merged with the first one
|
boolean |
match(String filter) |
void |
moveElementAt(int j,
int pos) |
boolean |
moveSelection(int[] sel,
int diff) |
PriorityClass |
remove(int idx) |
boolean |
remove(int[] t_index)
Remove a group of items
|
boolean |
remove(Object o) |
void |
removeNode(RegulatoryNode node) |
void |
setName(String name)
change the name of this object
|
String |
summary(List<org.colomoto.biolqm.NodeInfo> nodeOrder) |
String |
toString() |
void |
toXML(XMLWriter out)
write the XML representation of this object to a file
|
add, add, addListListener, fireAdded, fireChanged, fireRemoved, removeListListener
findUniqueName, getByName, isNameValid, rename
addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public static final int UP
public static final int DOWN
public static final int NONE
public Map<RegulatoryNode,PriorityClass[]> m_elt
public PrioritySetDefinition(List<RegulatoryNode> elts, String name)
public SimulationUpdater getUpdater(org.colomoto.biolqm.LogicalModel model)
getUpdater
in interface UpdaterDefinition
public void setName(String name)
NamedObject
setName
in interface NamedObject
public String getName()
getName
in interface NamedObject
public String toString()
toString
in class AbstractCollection<PriorityClass>
public void moveElementAt(int j, int pos)
public void associate(RegulatoryNode node, PriorityClass cl)
public void associate(RegulatoryNode node, PriorityClass clUp, PriorityClass clDown)
public PriorityClass remove(int idx)
remove
in interface List<PriorityClass>
remove
in class ListenableNamedList<PriorityClass>
public boolean remove(Object o)
remove
in interface Collection<PriorityClass>
remove
in interface List<PriorityClass>
remove
in class ArrayList<PriorityClass>
public boolean remove(int[] t_index)
t_index
- public boolean moveSelection(int[] sel, int diff)
public int[][] getMovingRows(int key, int[] index)
key
- index
- public void toXML(XMLWriter out) throws IOException
XMLize
toXML
in interface XMLize
IOException
public int[][] getPclass(List<org.colomoto.biolqm.NodeInfo> nodeOrder)
public boolean match(String filter)
public int add()
public int add(int i)
public void groupToggle(int[] ts)
public String summary(List<org.colomoto.biolqm.NodeInfo> nodeOrder)
summary
in interface UpdaterDefinition
public void removeNode(RegulatoryNode node)
Copyright © 2005–2020. All rights reserved.