public class GPathGroup extends GObject
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PATH_WIDTH |
protected List<GPath> |
graphicPaths |
static String |
NOTIF_CURRENT_PATH_DID_CHANGE |
protected int |
selectedPathIndex |
protected boolean |
showRuleLinks |
| Constructor and Description |
|---|
GPathGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(GPath path) |
void |
draw() |
void |
drawSelectedElement() |
GPath |
getCurrentPath() |
int |
getNumberOfPaths() |
GPath |
getPath(int index) |
List<GPath> |
getPaths() |
List<GPath> |
getPathsAtPoint(Point p) |
int |
getSelectedPathIndex() |
boolean |
isPathVisible(int index) |
void |
makeSureCurrentPathIsVisible() |
void |
selectNextPath() |
void |
selectPath(Point p) |
void |
selectPreviousPath() |
void |
setContext(GContext context) |
void |
setPathVisible(int index,
boolean flag) |
void |
setSelectedPath(int index) |
void |
toggleShowRuleLinks() |
void |
updateShowRuleLinks() |
containsPoint, getBounds, getContextpublic static final String NOTIF_CURRENT_PATH_DID_CHANGE
public static int DEFAULT_PATH_WIDTH
protected int selectedPathIndex
protected boolean showRuleLinks
public void addPath(GPath path)
public GPath getPath(int index)
public int getNumberOfPaths()
public void setSelectedPath(int index)
public void setPathVisible(int index,
boolean flag)
public boolean isPathVisible(int index)
public void makeSureCurrentPathIsVisible()
public void selectPreviousPath()
public void selectNextPath()
public GPath getCurrentPath()
public int getSelectedPathIndex()
public void setContext(GContext context)
setContext in class GObjectpublic void toggleShowRuleLinks()
public void updateShowRuleLinks()
public void selectPath(Point p)
public void drawSelectedElement()
Copyright © 2013. All rights reserved.