Gephi Toolkit Javadoc

org.gephi.io.importer.impl
Class NodeDraftImpl

java.lang.Object
  extended by org.gephi.io.importer.impl.NodeDraftImpl
All Implemented Interfaces:
NodeDraft, NodeDraftGetter

public class NodeDraftImpl
extends java.lang.Object
implements NodeDraft, NodeDraftGetter

Author:
Mathieu Bastian

Constructor Summary
NodeDraftImpl(ImportContainerImpl container, java.lang.String id)
           
 
Method Summary
 void addAttributeValue(AttributeColumn column, java.lang.Object value)
           
 void addAttributeValue(AttributeColumn column, java.lang.Object value, java.lang.String dateFrom, java.lang.String dateTo)
           
 void addAttributeValue(AttributeColumn column, java.lang.Object value, java.lang.String dateFrom, java.lang.String dateTo, boolean startOpen, boolean endOpen)
           
 void addChild(NodeDraft child)
           
 void addTimeInterval(java.lang.String dateFrom, java.lang.String dateTo)
           
 void addTimeInterval(java.lang.String dateFrom, java.lang.String dateTo, boolean startOpen, boolean endOpen)
           
 AttributeRow getAttributeRow()
           
 java.awt.Color getColor()
           
 int getHeight()
           
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 java.awt.Color getLabelColor()
           
 float getLabelSize()
           
 Node getNode()
           
 NodeDraftGetter[] getParents()
           
 float getSize()
           
 TimeInterval getTimeInterval()
           
 float getX()
           
 float getY()
           
 float getZ()
           
 boolean isAutoId()
           
 boolean isCreatedAuto()
           
 boolean isFixed()
           
 boolean isLabelVisible()
           
 boolean isVisible()
           
 void setColor(java.awt.Color color)
           
 void setColor(float r, float g, float b)
           
 void setColor(int r, int g, int b)
           
 void setColor(java.lang.String color)
           
 void setColor(java.lang.String r, java.lang.String g, java.lang.String b)
           
 void setCreatedAuto(boolean createdAuto)
           
 void setFixed(boolean fixed)
           
 void setHeight(int height)
           
 void setId(java.lang.String id)
           
 void setLabel(java.lang.String label)
           
 void setLabelColor(java.awt.Color color)
           
 void setLabelColor(float r, float g, float b)
           
 void setLabelColor(int r, int g, int b)
           
 void setLabelColor(java.lang.String color)
           
 void setLabelColor(java.lang.String r, java.lang.String g, java.lang.String b)
           
 void setLabelSize(float size)
           
 void setLabelVisible(boolean labelVisible)
           
 void setNode(Node node)
           
 void setParent(NodeDraft draft)
           
 void setSize(float size)
           
 void setTimeInterval(TimeInterval timeInterval)
           
 void setVisible(boolean visible)
           
 void setX(float x)
           
 void setY(float y)
           
 void setZ(float z)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeDraftImpl

public NodeDraftImpl(ImportContainerImpl container,
                     java.lang.String id)
Method Detail

setCreatedAuto

public void setCreatedAuto(boolean createdAuto)

setColor

public void setColor(java.awt.Color color)
Specified by:
setColor in interface NodeDraft

setColor

public void setColor(java.lang.String r,
                     java.lang.String g,
                     java.lang.String b)
Specified by:
setColor in interface NodeDraft

setColor

public void setColor(float r,
                     float g,
                     float b)
Specified by:
setColor in interface NodeDraft

setColor

public void setColor(int r,
                     int g,
                     int b)
Specified by:
setColor in interface NodeDraft

setColor

public void setColor(java.lang.String color)
Specified by:
setColor in interface NodeDraft

setId

public void setId(java.lang.String id)
Specified by:
setId in interface NodeDraft

setSize

public void setSize(float size)
Specified by:
setSize in interface NodeDraft

setX

public void setX(float x)
Specified by:
setX in interface NodeDraft

setY

public void setY(float y)
Specified by:
setY in interface NodeDraft

setZ

public void setZ(float z)
Specified by:
setZ in interface NodeDraft

setFixed

public void setFixed(boolean fixed)
Specified by:
setFixed in interface NodeDraft

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface NodeDraft

setLabel

public void setLabel(java.lang.String label)
Specified by:
setLabel in interface NodeDraft

setLabelSize

public void setLabelSize(float size)
Specified by:
setLabelSize in interface NodeDraft

setLabelVisible

public void setLabelVisible(boolean labelVisible)
Specified by:
setLabelVisible in interface NodeDraft

setLabelColor

public void setLabelColor(java.awt.Color color)
Specified by:
setLabelColor in interface NodeDraft

setLabelColor

public void setLabelColor(java.lang.String r,
                          java.lang.String g,
                          java.lang.String b)
Specified by:
setLabelColor in interface NodeDraft

setLabelColor

public void setLabelColor(float r,
                          float g,
                          float b)
Specified by:
setLabelColor in interface NodeDraft

setLabelColor

public void setLabelColor(int r,
                          int g,
                          int b)
Specified by:
setLabelColor in interface NodeDraft

setLabelColor

public void setLabelColor(java.lang.String color)
Specified by:
setLabelColor in interface NodeDraft

setParent

public void setParent(NodeDraft draft)
Specified by:
setParent in interface NodeDraft

setHeight

public void setHeight(int height)

addChild

public void addChild(NodeDraft child)
Specified by:
addChild in interface NodeDraft

addAttributeValue

public void addAttributeValue(AttributeColumn column,
                              java.lang.Object value)
Specified by:
addAttributeValue in interface NodeDraft

addAttributeValue

public void addAttributeValue(AttributeColumn column,
                              java.lang.Object value,
                              java.lang.String dateFrom,
                              java.lang.String dateTo)
                       throws java.lang.IllegalArgumentException
Specified by:
addAttributeValue in interface NodeDraft
Throws:
java.lang.IllegalArgumentException

addAttributeValue

public void addAttributeValue(AttributeColumn column,
                              java.lang.Object value,
                              java.lang.String dateFrom,
                              java.lang.String dateTo,
                              boolean startOpen,
                              boolean endOpen)
                       throws java.lang.IllegalArgumentException
Specified by:
addAttributeValue in interface NodeDraft
Throws:
java.lang.IllegalArgumentException

addTimeInterval

public void addTimeInterval(java.lang.String dateFrom,
                            java.lang.String dateTo)
                     throws java.lang.IllegalArgumentException
Specified by:
addTimeInterval in interface NodeDraft
Throws:
java.lang.IllegalArgumentException

addTimeInterval

public void addTimeInterval(java.lang.String dateFrom,
                            java.lang.String dateTo,
                            boolean startOpen,
                            boolean endOpen)
                     throws java.lang.IllegalArgumentException
Specified by:
addTimeInterval in interface NodeDraft
Throws:
java.lang.IllegalArgumentException

setTimeInterval

public void setTimeInterval(TimeInterval timeInterval)

getAttributeRow

public AttributeRow getAttributeRow()
Specified by:
getAttributeRow in interface NodeDraftGetter

getColor

public java.awt.Color getColor()
Specified by:
getColor in interface NodeDraft
Specified by:
getColor in interface NodeDraftGetter

getId

public java.lang.String getId()
Specified by:
getId in interface NodeDraftGetter

getSize

public float getSize()
Specified by:
getSize in interface NodeDraftGetter

getX

public float getX()
Specified by:
getX in interface NodeDraftGetter

getY

public float getY()
Specified by:
getY in interface NodeDraftGetter

getZ

public float getZ()
Specified by:
getZ in interface NodeDraftGetter

isFixed

public boolean isFixed()
Specified by:
isFixed in interface NodeDraftGetter

isVisible

public boolean isVisible()
Specified by:
isVisible in interface NodeDraftGetter

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface NodeDraftGetter

getLabelSize

public float getLabelSize()
Specified by:
getLabelSize in interface NodeDraftGetter

isLabelVisible

public boolean isLabelVisible()
Specified by:
isLabelVisible in interface NodeDraftGetter

getLabelColor

public java.awt.Color getLabelColor()
Specified by:
getLabelColor in interface NodeDraftGetter

getHeight

public int getHeight()
Specified by:
getHeight in interface NodeDraftGetter

getParents

public NodeDraftGetter[] getParents()
Specified by:
getParents in interface NodeDraftGetter

getTimeInterval

public TimeInterval getTimeInterval()
Specified by:
getTimeInterval in interface NodeDraftGetter

isCreatedAuto

public boolean isCreatedAuto()

isAutoId

public boolean isAutoId()
Specified by:
isAutoId in interface NodeDraftGetter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setNode

public void setNode(Node node)
Specified by:
setNode in interface NodeDraftGetter

getNode

public Node getNode()
Specified by:
getNode in interface NodeDraftGetter

Gephi Toolkit Javadoc