Gephi Toolkit Javadoc

org.gephi.io.processor.plugin
Class DynamicProcessor

java.lang.Object
  extended by org.gephi.io.processor.plugin.AbstractProcessor
      extended by org.gephi.io.processor.plugin.DynamicProcessor
All Implemented Interfaces:
Processor

public class DynamicProcessor
extends AbstractProcessor
implements Processor

Processor 'Time Frame' that uses its 'date' parameter to associate the content of the container to a particular point in time. It locates and modify existing elements by appending new time intervals. It also create dynamic attribute values, as well as a dynamic weight.

Author:
Mathieu Bastian

Field Summary
 
Fields inherited from class org.gephi.io.processor.plugin.AbstractProcessor
attributeModel, container, workspace
 
Constructor Summary
DynamicProcessor()
           
 
Method Summary
protected  void flushToEdgeAttributes(EdgeDraftGetter edgeDraft, Edge edge)
           
protected  void flushToNodeAttributes(NodeDraftGetter nodeDraft, Node node)
           
 java.lang.String getDate()
           
 java.lang.String getDisplayName()
          Returns the processor name.
 boolean isDateMode()
           
 boolean isLabelmatching()
           
 void process()
          Process data from the container to the workspace.
 void setDate(java.lang.String date)
           
 void setDateMode(boolean dateMode)
           
 void setLabelmatching(boolean labelmatching)
           
 
Methods inherited from class org.gephi.io.processor.plugin.AbstractProcessor
flushToEdge, flushToNode, setContainer, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gephi.io.processor.spi.Processor
setContainer, setWorkspace
 

Constructor Detail

DynamicProcessor

public DynamicProcessor()
Method Detail

process

public void process()
Description copied from interface: Processor
Process data from the container to the workspace. This task is done after an importer pushed data to the container.

Specified by:
process in interface Processor
See Also:
Importer

flushToNodeAttributes

protected void flushToNodeAttributes(NodeDraftGetter nodeDraft,
                                     Node node)
Overrides:
flushToNodeAttributes in class AbstractProcessor

flushToEdgeAttributes

protected void flushToEdgeAttributes(EdgeDraftGetter edgeDraft,
                                     Edge edge)
Overrides:
flushToEdgeAttributes in class AbstractProcessor

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: Processor
Returns the processor name.

Specified by:
getDisplayName in interface Processor
Returns:
the processor display name

getDate

public java.lang.String getDate()

setDate

public void setDate(java.lang.String date)

isDateMode

public boolean isDateMode()

setDateMode

public void setDateMode(boolean dateMode)

isLabelmatching

public boolean isLabelmatching()

setLabelmatching

public void setLabelmatching(boolean labelmatching)

Gephi Toolkit Javadoc