|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.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 CyCustomGraphics
public void setWidth(int width)
CyCustomGraphics
setWidth
in interface CyCustomGraphics
public void setHeight(int height)
CyCustomGraphics
setHeight
in interface CyCustomGraphics
public int getWidth()
CyCustomGraphics
getWidth
in interface CyCustomGraphics
public int getHeight()
CyCustomGraphics
getHeight
in interface CyCustomGraphics
public List<Layer> getLayers()
CyCustomGraphics
getLayers
in interface CyCustomGraphics
public String getDisplayName()
CyCustomGraphics
getDisplayName
in interface CyCustomGraphics
public void setDisplayName(String displayName)
CyCustomGraphics
setDisplayName
in interface CyCustomGraphics
public Image getRenderedImage()
CyCustomGraphics
getRenderedImage
in interface CyCustomGraphics
public Collection<String> getTags()
getTags
in interface Taggable
public ObjectPosition getPosition()
CyCustomGraphics
getPosition
in interface CyCustomGraphics
public void setPosition(ObjectPosition position)
CyCustomGraphics
setPosition
in interface CyCustomGraphics
public String toString()
toString
in class Object
public void setFitRatio(float fitRatio)
setFitRatio
in interface CyCustomGraphics
public float getFitRatio()
getFitRatio
in interface CyCustomGraphics
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |