| Package | Description |
|---|---|
| xyz.cofe.j2d | |
| xyz.cofe.j2d.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
Enums<N extends GNode>
Средства для работы с итераторами
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNode
Базовый узел
|
class |
ControlPoint
Графический объект для управления положением контрольной точки другого объекта
|
class |
Document2D |
class |
GraphicNode |
class |
RulersNode
Линейка
|
class |
ShapeNode |
class |
TextNode |
| Modifier and Type | Method and Description |
|---|---|
static <T extends GNode> |
Enums.nodeExtract.children() |
static <N extends GNode> |
Enums.enums(Iterable<N> nodes) |
static <N extends GNode> |
Enums.enums(N node) |
static <T extends GNode> |
Enums.convertors.nodeToTree() |
static <A extends GNode> |
Enums.treeOf(A start,
NodesExtracter<A,A> ne,
Predicate<TreeWalk<A>> followFilter,
TreeWalkType followType) |
| Modifier and Type | Method and Description |
|---|---|
GNode[] |
AbstractNode.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<GNode> |
Enums.children(GNode node) |
static Iterable<GNode> |
Enums.empty() |
Iterable<GNode> |
Document2D.getSelectedIterable() |
static List<GNode> |
AbstractNode.getSubpath(GNode parent,
GNode child,
List<GNode> path)
Создает путь от родительского узла до дочернего (включительно)
|
static Predicate<GNode> |
Enums.filters.instanceOf(Class cls) |
static Iterable<GNode> |
Enums.walk(GNode node) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<GNode> |
Enums.children(GNode node) |
static List<GNode> |
AbstractNode.getSubpath(GNode parent,
GNode child,
List<GNode> path)
Создает путь от родительского узла до дочернего (включительно)
|
boolean |
AbstractNode.isChildOf(GNode parent)
Проверяет что данный узел (this) является потомком указаного
|
static boolean |
AbstractNode.isParentChildRelation(GNode parent,
GNode child)
Проверяет что данный узел (child) является потомком указаного
|
boolean |
AbstractNode.isParentOf(GNode child)
Проверяет что указанный узел (child) является потомком данного узла (this)
|
static AffineTransform |
AbstractNode.toLocal(GNode node,
AffineTransform src)
Получает матрицу преобразованя от корня к указанному узлу
|
static Iterable<GNode> |
Enums.walk(GNode node) |
| Modifier and Type | Method and Description |
|---|---|
Enums |
Enums.each(Reciver<GNode> reciver) |
static List<GNode> |
AbstractNode.getSubpath(GNode parent,
GNode child,
List<GNode> path)
Создает путь от родительского узла до дочернего (включительно)
|
| Modifier and Type | Field and Description |
|---|---|
protected GNode |
Canvas.root |
| Modifier and Type | Field and Description |
|---|---|
static NodesExtracter<GNode,GNode> |
SelectTool.childrenExtracter |
static NodesExtracter<GNode,GNode> |
SelectTool.childrenExtracter |
static Convertor<TreeWalk<GNode>,GNode> |
SelectTool.currentNode |
static Convertor<TreeWalk<GNode>,GNode> |
SelectTool.currentNode |
protected LinkedHashMap<GNode,AffineTransform> |
MoveDragger.dragNodes |
static Predicate<GNode> |
SelectTool.selectedFilter |
protected Iterable<GNode> |
Dragger.selection |
| Modifier and Type | Method and Description |
|---|---|
GNode |
Canvas.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<GNode> |
SelectTool.childrenOf(GNode node,
Integer maxLevel) |
protected Func1<Boolean,Stack<GNode>> |
Canvas.createChildRenderVisiter(Graphics2D gs,
Integer minLevel,
Integer maxLevel) |
protected Set<GNode> |
SelectTool.getSelection() |
Iterable<GNode> |
Dragger.getSelection() |
List<GNode> |
Dragger.getSelectionAsList() |
static Predicate<GNode> |
SelectTool.instanceOf(Class cls) |
static Iterable<GNode> |
SelectTool.instanceOf(Iterable<GNode> src,
Class cls) |
protected Set<GNode> |
SelectTool.nodesAtPoint(MouseEvent ev) |
protected Set<GNode> |
SelectTool.nodesAtPoint(Point2D mousePoint) |
protected Set<GNode> |
SelectTool.nodesAtPoint(Point2D mousePoint,
Iterable<GNode> nodes) |
static Iterable<GNode> |
SelectTool.selected(Iterable<GNode> src) |
static Iterable<GNode> |
SelectTool.single(GNode node) |
static Iterable<TreeWalk<GNode>> |
SelectTool.treeOf(GNode node) |
static Iterable<TreeWalk<GNode>> |
SelectTool.treeOf(GNode node,
Predicate<TreeWalk<GNode>> followFilter) |
static Iterable<GNode> |
SelectTool.walk(Iterable<TreeWalk<GNode>> src) |
protected Iterable<GNode> |
SelectTool.workingSet() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<GNode> |
SelectTool.childrenOf(GNode node,
Integer maxLevel) |
static Canvas |
Canvas.findCanvas(GNode node) |
static void |
Canvas.fireRepaint(GNode node) |
protected Rectangle2D |
SelectTool.getBoundsOf(GNode node) |
protected List<Point2D> |
SelectTool.getBoundsPointsOf(GNode node,
double padding) |
void |
Canvas.setRoot(GNode root) |
static Iterable<GNode> |
SelectTool.single(GNode node) |
protected Point2D |
SelectTool.toLocal(GNode node,
Point2D pt) |
protected Point2D |
MoveDragger.toLocal(GNode node,
Point2D pt) |
static Iterable<TreeWalk<GNode>> |
SelectTool.treeOf(GNode node) |
static Iterable<TreeWalk<GNode>> |
SelectTool.treeOf(GNode node,
Predicate<TreeWalk<GNode>> followFilter) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Point2D> |
SelectTool.getBoundsPointsOf(Iterable<GNode> nodes) |
static Iterable<GNode> |
SelectTool.instanceOf(Iterable<GNode> src,
Class cls) |
protected Set<GNode> |
SelectTool.nodesAtPoint(Point2D mousePoint,
Iterable<GNode> nodes) |
static Iterable<GNode> |
SelectTool.selected(Iterable<GNode> src) |
void |
Dragger.setSelection(Iterable<GNode> newSelection) |
static Iterable<TreeWalk<GNode>> |
SelectTool.treeOf(GNode node,
Predicate<TreeWalk<GNode>> followFilter) |
static Iterable<GNode> |
SelectTool.walk(Iterable<TreeWalk<GNode>> src) |
Copyright © 2018. All rights reserved.