org.opengis.display.primitive
Interface Graphic

Show UML class diagram

public interface Graphic

Defines the root abstraction of a graphic object taxonomy. This base interface specifies the methods common to a lightweight set of graphic objects.

Since:
GeoAPI 2.2

Method Summary
 void dispose()
          Invoked by the container when this graphic is no longer needed.
 boolean isVisible()
          Returns true if this graphic is visible.
 void setVisible(boolean visible)
          Sets whatever this graphic should be visible.
 

Method Detail

isVisible

boolean isVisible()
Returns true if this graphic is visible.

Returns:
true if this graphic is visible.

setVisible

void setVisible(boolean visible)
Sets whatever this graphic should be visible.

Parameters:
visible - true if this graphic should be visible.

dispose

void dispose()
Invoked by the container when this graphic is no longer needed. Implementations may use this method to release resources, if needed. Implementations may also implement this method to return an object to an object pool. It is an error to reference a Graphic in any way after its dispose method has been called.



Copyright © 1994-2010 Open Geospatial Consortium. All Rights Reserved.