Gephi Toolkit Javadoc

org.gephi.io.importer.impl
Class EdgeDraftImpl

java.lang.Object
  extended by org.gephi.io.importer.impl.EdgeDraftImpl
All Implemented Interfaces:
EdgeDraft, EdgeDraftGetter

public class EdgeDraftImpl
extends java.lang.Object
implements EdgeDraft, EdgeDraftGetter

Author:
Mathieu Bastian

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gephi.io.importer.api.EdgeDraft
EdgeDraft.EdgeType
 
Constructor Summary
EdgeDraftImpl(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 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()
           
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 java.awt.Color getLabelColor()
           
 float getLabelSize()
           
 NodeDraftImpl getSource()
           
 NodeDraftImpl getTarget()
           
 TimeInterval getTimeInterval()
           
 EdgeDraft.EdgeType getType()
           
 float getWeight()
           
 boolean isAutoId()
           
 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 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 setSource(NodeDraft nodeSource)
           
 void setTarget(NodeDraft nodeTarget)
           
 void setTimeInterval(TimeInterval timeInterval)
           
 void setType(EdgeDraft.EdgeType edgeType)
           
 void setVisible(boolean visible)
           
 void setWeight(float weight)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeDraftImpl

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

setWeight

public void setWeight(float weight)
Specified by:
setWeight in interface EdgeDraft

setColor

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

setColor

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

setColor

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

setColor

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

setColor

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

setLabel

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

setLabelSize

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

setLabelVisible

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

setLabelColor

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

setLabelColor

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

setLabelColor

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

setLabelColor

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

setLabelColor

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

setVisible

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

setType

public void setType(EdgeDraft.EdgeType edgeType)
Specified by:
setType in interface EdgeDraft

setId

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

setSource

public void setSource(NodeDraft nodeSource)
Specified by:
setSource in interface EdgeDraft

setTarget

public void setTarget(NodeDraft nodeTarget)
Specified by:
setTarget in interface EdgeDraft

addAttributeValue

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

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 EdgeDraft
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 EdgeDraft
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 EdgeDraft
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 EdgeDraft
Throws:
java.lang.IllegalArgumentException

setTimeInterval

public void setTimeInterval(TimeInterval timeInterval)

getAttributeRow

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

getSource

public NodeDraftImpl getSource()
Specified by:
getSource in interface EdgeDraftGetter

getTarget

public NodeDraftImpl getTarget()
Specified by:
getTarget in interface EdgeDraftGetter

getColor

public java.awt.Color getColor()
Specified by:
getColor in interface EdgeDraft
Specified by:
getColor in interface EdgeDraftGetter

getId

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

getLabel

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

getLabelSize

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

isLabelVisible

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

getLabelColor

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

getWeight

public float getWeight()
Specified by:
getWeight in interface EdgeDraft
Specified by:
getWeight in interface EdgeDraftGetter

getType

public EdgeDraft.EdgeType getType()
Specified by:
getType in interface EdgeDraftGetter

isVisible

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

isAutoId

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

getTimeInterval

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

toString

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

Gephi Toolkit Javadoc