|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.visual.customgraphic.impl.AbstractDCustomGraphics
public abstract class AbstractDCustomGraphics
| Field Summary | |
|---|---|
protected static String |
DELIMITER
|
protected String |
displayName
|
protected float |
fitRatio
|
protected int |
height
|
protected Long |
id
|
protected List<Layer> |
layers
|
static String |
LIST_DELIMITER
|
protected CyCustomGraphicsParser |
parser
|
protected ObjectPosition |
position
|
protected SortedSet<String> |
tags
|
protected int |
width
|
| Constructor Summary | |
|---|---|
AbstractDCustomGraphics(Long id,
String displayName)
Create new object for a given ID. |
|
AbstractDCustomGraphics(String displayName)
|
|
| Method Summary | |
|---|---|
String |
getDisplayName()
Display name is a simple description of this image object. |
float |
getFitRatio()
|
int |
getHeight()
Returns height of current object. |
Long |
getIdentifier()
Immutable session-unique identifier of image generated in constructor. |
List<Layer> |
getLayers()
Get layers belongs to this object. |
ObjectPosition |
getPosition()
Current position |
Image |
getRenderedImage()
From layers of graphics objects, render scaled Image object. |
Collection<String> |
getTags()
|
int |
getWidth()
Returns width of current object. |
void |
setDisplayName(String displayName)
Set human readable display name. |
void |
setFitRatio(float fitRatio)
|
void |
setHeight(int height)
Set height of Custom Graphics. |
void |
setPosition(ObjectPosition position)
Set posiiton of this graphics. |
void |
setWidth(int width)
Set width of Custom Graphics. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String DELIMITER
public static final String LIST_DELIMITER
protected float fitRatio
protected final Long id
protected List<Layer> layers
protected String displayName
protected int width
protected int height
protected CyCustomGraphicsParser parser
protected ObjectPosition position
protected final SortedSet<String> tags
| Constructor Detail |
|---|
public AbstractDCustomGraphics(String displayName)
public AbstractDCustomGraphics(Long id,
String displayName)
id - displayName - | Method Detail |
|---|
public Long getIdentifier()
CyCustomGraphics
getIdentifier in interface CyCustomGraphicspublic void setWidth(int width)
CyCustomGraphics
setWidth in interface CyCustomGraphicspublic void setHeight(int height)
CyCustomGraphics
setHeight in interface CyCustomGraphicspublic int getWidth()
CyCustomGraphics
getWidth in interface CyCustomGraphicspublic int getHeight()
CyCustomGraphics
getHeight in interface CyCustomGraphicspublic List<Layer> getLayers()
CyCustomGraphics
getLayers in interface CyCustomGraphicspublic String getDisplayName()
CyCustomGraphics
getDisplayName in interface CyCustomGraphicspublic void setDisplayName(String displayName)
CyCustomGraphics
setDisplayName in interface CyCustomGraphicspublic Image getRenderedImage()
CyCustomGraphics
getRenderedImage in interface CyCustomGraphicspublic Collection<String> getTags()
getTags in interface Taggablepublic ObjectPosition getPosition()
CyCustomGraphics
getPosition in interface CyCustomGraphicspublic void setPosition(ObjectPosition position)
CyCustomGraphics
setPosition in interface CyCustomGraphicspublic String toString()
toString in class Objectpublic void setFitRatio(float fitRatio)
setFitRatio in interface CyCustomGraphicspublic float getFitRatio()
getFitRatio in interface CyCustomGraphics
|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||