All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
boolean |
add(ShuffleInfo shuffle) |
boolean |
addAll(Collection<? extends ShuffleInfo> c) |
ShuffleGraph |
addDisconnected(ShuffleInfo shuffle) |
ShuffleGraph |
addDisconnected(ShuffleInfo shuffle,
int x,
int y) |
ShuffleGraph |
addSingle(Distributions distribution) |
ShuffleGraph |
addSingle(Distributions distribution,
boolean warped) |
ShuffleGraph |
addSingle(ShuffleInfo shuffle) |
ShuffleGraph |
addSingle(Shuffles shuffle) |
void |
calcTextSize(String text,
int fit,
Graphics2D g) |
void |
clear() |
Iterable<GraphNode> |
connectedNodesIterable() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
void |
deleteNode() |
void |
drag(Point rel) |
void |
draw(Graphics2D g) |
void |
endConnection() |
GraphNode |
findLast() |
Point |
findSafeCoordinates(int baseX,
int baseY,
int offsetX,
int offsetY) |
List<GraphConnection> |
getConnections() |
GraphNode |
getDragCandidate() |
GraphConnection |
getDragging() |
List<GraphNode> |
getNodes() |
GraphNode |
getSelected() |
double |
getSleepRatio() |
Map<String,Integer> |
getTextSizes() |
boolean |
isEmpty() |
Iterator<GraphNode> |
iterateConnectedNodes() |
Iterator<ShuffleInfo> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
int |
removeAllDisconnected() |
boolean |
retainAll(Collection<?> c) |
void |
select(Point pos) |
void |
setConnections(List<GraphConnection> connections) |
void |
setDragCandidate(GraphNode dragCandidate) |
void |
setDragging(GraphConnection dragging) |
void |
setNodes(List<GraphNode> nodes) |
void |
setSelected(GraphNode selected) |
ShuffleGraph |
setSleepRatio(double ratio) |
void |
setTextSizes(Map<String,Integer> textSizes) |
void |
shuffleArray(int[] array,
ArrayVisualizer arrayVisualizer) |
static ShuffleGraph |
single(Distributions distribution) |
static ShuffleGraph |
single(Distributions distribution,
boolean warped) |
static ShuffleGraph |
single(ShuffleInfo shuffle) |
static ShuffleGraph |
single(Shuffles shuffle) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |