public class GraphUtilities extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
ANON_NODE_WIDTH |
static Font |
defaultFont |
static Color |
graphBackgroundColor |
static boolean |
isChangedSelectedColor |
static boolean |
isColor |
static Color |
selectedBorderColor |
static Color |
selectedColor |
コンストラクタと説明 |
---|
GraphUtilities() |
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
changeAllCellColor(GraphManager gmanager) |
static void |
changeCellStyle(RDFGraph graph,
org.jgraph.graph.GraphCell cell,
Color backGroundColor,
Color borderColor)
セルの色を変更するためのメソッド
|
static void |
changeDefaultCellStyle(RDFGraph graph,
org.jgraph.graph.GraphCell cell,
Color backGroundColor) |
static Object[] |
changeSelectionCellStyle(RDFGraph graph,
Object[] lastSelectionCells) |
static void |
editCell(org.jgraph.graph.GraphCell cell,
org.jgraph.graph.AttributeMap map,
RDFGraph graph) |
static void |
emphasisNodes(RDFGraph graph) |
static Dimension |
getAutoLiteralNodeDimention(GraphManager gmanager,
String value) |
static Dimension |
getAutoNodeDimension(GraphManager gmanager,
String value) |
static String |
getNSPrefix(com.hp.hpl.jena.rdf.model.Resource uri) |
static Set<PrefixNSInfo> |
getPrefixNSInfoSet() |
static Rectangle2D |
getTypeCellRectangle(org.jgraph.graph.GraphCell cell,
RDFSInfo info,
GraphManager gm) |
static void |
resizeAllRDFResourceCell(GraphManager gm) |
static void |
resizeAllRDFSResourceCell(GraphManager gm) |
static void |
resizeCell(Dimension size,
RDFGraph graph,
org.jgraph.graph.GraphCell cell) |
static void |
resizeRDFResourceCell(GraphManager gm,
RDFResourceInfo resInfo,
org.jgraph.graph.GraphCell cell) |
static void |
resizeRDFSResourceCell(GraphManager gm,
RDFSInfo rdfsInfo,
org.jgraph.graph.GraphCell cell) |
static void |
setPrefixNSInfoSet(Set<PrefixNSInfo> infoSet) |
public static Font defaultFont
public static boolean isColor
public static Color selectedColor
public static Color selectedBorderColor
public static Color graphBackgroundColor
public static boolean isChangedSelectedColor
public static final int ANON_NODE_WIDTH
public static void setPrefixNSInfoSet(Set<PrefixNSInfo> infoSet)
public static Set<PrefixNSInfo> getPrefixNSInfoSet()
public static void changeAllCellColor(GraphManager gmanager)
public static void changeCellStyle(RDFGraph graph, org.jgraph.graph.GraphCell cell, Color backGroundColor, Color borderColor)
graph
- cell
- backGroundColor
- borderColor
- public static void changeDefaultCellStyle(RDFGraph graph, org.jgraph.graph.GraphCell cell, Color backGroundColor)
public static Object[] changeSelectionCellStyle(RDFGraph graph, Object[] lastSelectionCells)
public static void editCell(org.jgraph.graph.GraphCell cell, org.jgraph.graph.AttributeMap map, RDFGraph graph)
public static void resizeAllRDFResourceCell(GraphManager gm)
public static void resizeAllRDFSResourceCell(GraphManager gm)
public static void resizeRDFSResourceCell(GraphManager gm, RDFSInfo rdfsInfo, org.jgraph.graph.GraphCell cell)
public static void resizeRDFResourceCell(GraphManager gm, RDFResourceInfo resInfo, org.jgraph.graph.GraphCell cell)
public static void resizeCell(Dimension size, RDFGraph graph, org.jgraph.graph.GraphCell cell)
public static Dimension getAutoLiteralNodeDimention(GraphManager gmanager, String value)
public static String getNSPrefix(com.hp.hpl.jena.rdf.model.Resource uri)
public static Rectangle2D getTypeCellRectangle(org.jgraph.graph.GraphCell cell, RDFSInfo info, GraphManager gm)
public static Dimension getAutoNodeDimension(GraphManager gmanager, String value)
public static void emphasisNodes(RDFGraph graph)
Copyright © 2003–2015 mr3.sourceforge.net. All rights reserved.