/** * Sets the new state. * * @param state The new state */ public void toState(State state) { VectorFeatureImpl.toState(getJSObject(), state.toString()); }
/** * Gets the state of the feature. * * @return The state of the feature. */ public State getState() { return State.fromString(VectorFeatureImpl.getState(getJSObject())); } }
/** * @return a generated ID. Prefer the use of <code>getFID</code>, which supports an OGC standard. */ public String getFeatureId(){ return FeatureImpl.getFeatureId(getJSObject()); }
/** * Create a clone of this vector feature. Does not set any non-standard * properties. */ public VectorFeature clone() { return narrowToVectorFeature(VectorFeatureImpl.clone(getJSObject())); }
public void destroy(){ FeatureImpl.destroy(getJSObject()); }
public String getFID(){ return FeatureImpl.getFID(getJSObject()); }
public void resetPopup() { FeatureImpl.resetPopup(this.getJSObject()); }
public void setPopup(final Popup popup) { FeatureImpl.setPopup(this.getJSObject(), popup == null ? null : popup.getJSObject()); }
public void setStyle(Style newStyle) { FeatureImpl.setStyle(this.getJSObject(), newStyle.getJSObject()); } }
public Popup getPopup() { return Popup.narrowToOpenLayersPopup(FeatureImpl.getPopup( this.getJSObject())); }
/** * Set the featureId on VectoreFeauture. Remember the featureId must be * unique * * @param feaureID */ public void setFeatureId(String feaureID) { VectorFeatureImpl.setFeatureId(getJSObject(), feaureID); }
/** * Determine whether the feature is displayed or not * */ public boolean getVisibility() { return VectorFeatureImpl.getVisibility(getJSObject()); }
public String getRenderIntent() { return VectorFeatureImpl.getRenderIntent(getJSObject()); }
public void setFID(String fid) { VectorFeatureImpl.setFID(getJSObject(), fid); }
/** * Moves the feature and redraws it at its new location. * * @param lonLat the location to which to move the feature */ public void move(LonLat lonLat) { VectorFeatureImpl.move(getJSObject(), lonLat.getJSObject()); }
/** * @return a generated ID. Prefer the use of <code>getFID</code>, which * supports an OGC standard. */ public String getFeatureId() { return FeatureImpl.getFeatureId(getJSObject()); }
public void destroy() { FeatureImpl.destroy(getJSObject()); }
public String getFID() { return FeatureImpl.getFID(getJSObject()); }
public void resetPopup() { FeatureImpl.resetPopup(this.getJSObject()); }
public void setPopup(Popup popup) { FeatureImpl.setPopup(this.getJSObject(), popup.getJSObject()); }