|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for defining draggable/droppable visual components in the Cytoscape editor framework. The framework provides for dragging and dropping graphical entities from palette onto the canvas. Graphical entities are associated with semantic objects, i.e. nodes and edges, that are created when the graphical entities are dropped onto the canvas.
Method Summary | |
java.awt.Image |
get_image()
get the image for the icon used on the palette to represent the graphical entity |
java.lang.String |
getAttributeName()
returns the name of the attribute associated with the Graphical Entity. |
java.lang.String |
getAttributeValue()
returns the value of the attribute associated with the Graphical Entity. |
javax.swing.Icon |
getIcon()
get the icon used on the palette to represent the graphical entity |
java.awt.dnd.DragSource |
getMyDragSource()
retrieves the source of the drag operation, used when dragging a graphical entity from the palette onto the canvas |
java.lang.String |
getTitle()
get the Title of the graphical entity |
void |
set_image(java.awt.Image _image)
set the image for the icon used on the palette to represent the graphical entity |
void |
setAttributeName(java.lang.String attributeName)
sets the name of the attribute associated with the Graphical Entity. |
void |
setAttributeValue(java.lang.String attributeValue)
sets the value of the attribute associated with the Graphical Entity. |
void |
setIcon(javax.swing.Icon icon)
set the icon used on the palette to represent the graphical entity |
void |
setMyDragSource(java.awt.dnd.DragSource myDragSource)
defines the source of the drag operation, used when dragging a graphical entity from the palette onto the canvas |
void |
setTitle(java.lang.String title)
set the Title of the graphical entity |
Method Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title to set.public java.awt.dnd.DragSource getMyDragSource()
public void setMyDragSource(java.awt.dnd.DragSource myDragSource)
myDragSource
- the drag sourcepublic java.awt.Image get_image()
public void set_image(java.awt.Image _image)
_image
- the icon to setpublic javax.swing.Icon getIcon()
public void setIcon(javax.swing.Icon icon)
icon
- the icon to setpublic java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName
- the attribute name to setpublic java.lang.String getAttributeValue()
public void setAttributeValue(java.lang.String attributeValue)
attributeValue
- The attributeValue to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |