public URI getURIValue() { return getURIValue(null); }
public URI getURIValue() { return getURIValue(null); }
public URI getURIValue() { return getURIValue(null); }
public URI getURIValue() { return getURIValue(null); }
xmlBase = sty.getURIValue();
stopRef = sty.getURIValue(getXMLBase());
xmlBase = sty.getURIValue();
protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } }
protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } }
@Override protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } }
@Override protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } }
/** * Called by internal processes to rebuild the geometry of this node * from it's presentation attributes, style attributes and animated tracks. */ protected void build() throws SVGException { StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("id"))) { String newId = sty.getStringValue(); if (!newId.equals(id)) { diagram.removeElement(id); id = newId; diagram.setElement(this.id, this); } } if (getPres(sty.setName("class"))) cssClass = sty.getStringValue(); if (getPres(sty.setName("xml:base"))) xmlBase = sty.getURIValue(); }
/** * Updates all attributes in this diagram associated with a time event. * Ie, all attributes with track information. * @return - true if this node has changed state as a result of the time * update */ @Override public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); // if (trackManager.getNumTracks() == 0) return false; //Get current values for parameters StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } return changeState; } }
/** * Updates all attributes in this diagram associated with a time event. * Ie, all attributes with track information. * @return - true if this node has changed state as a result of the time * update */ public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); // if (trackManager.getNumTracks() == 0) return false; //Get current values for parameters StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } return changeState; } }
/** * Updates all attributes in this diagram associated with a time event. * Ie, all attributes with track information. * @return - true if this node has changed state as a result of the time * update */ public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); // if (trackManager.getNumTracks() == 0) return false; //Get current values for parameters StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } return changeState; } }
if (getPres(sty.setName("xlink:href"))) URI src = sty.getURIValue(getXMLBase()); href = src.toURL();
/** * Updates all attributes in this diagram associated with a time event. * Ie, all attributes with track information. * @return - true if this node has changed state as a result of the time * update */ @Override public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); // if (trackManager.getNumTracks() == 0) return false; //Get current values for parameters StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("xlink:href"))) { href = sty.getURIValue(getXMLBase()); } if (getPres(sty.setName("xlink:title"))) { title = sty.getStringValue(); } return changeState; } }
protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("x"))) x = sty.getFloatValueWithUnits(); if (getPres(sty.setName("y"))) y = sty.getFloatValueWithUnits(); if (getPres(sty.setName("width"))) width = sty.getFloatValueWithUnits(); if (getPres(sty.setName("height"))) height = sty.getFloatValueWithUnits(); if (getPres(sty.setName("xlink:href"))) { URI src = sty.getURIValue(getXMLBase()); href = diagram.getUniverse().getElement(src); } //Determine use offset/scale refXform = new AffineTransform(); refXform.translate(this.x, this.y); }
URI src = sty.getURIValue(getXMLBase()); href = src;
URI src = sty.getURIValue(getXMLBase()); href = src;