|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.model.MapSection
echopoint.model.PolygonSection
public class PolygonSection
A model object that represents a clickable polygon section in an ImageMap.
Note: Development of this component was sponsored by TCN Broadcasting. We are grateful for their support and sponsorship.
| Field Summary |
|---|
| Fields inherited from class echopoint.model.MapSection |
|---|
actionCommand, altText |
| Constructor Summary | |
|---|---|
PolygonSection()
Default constructor. |
|
PolygonSection(Collection<Point> vertices,
String... values)
|
|
PolygonSection(int[] vertices,
String... values)
Create a new instance using the specified values. |
|
PolygonSection(String... values)
Create a new instance using the specified values. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare the specified object with this instance for equality. |
Collection<Point> |
getVertices()
Accessor for property 'vertices'. |
int |
hashCode()
Compute a hash code for this instance. |
void |
setVertices(Collection<Point> vertices)
Mutator for property 'vertices'. |
| Methods inherited from class echopoint.model.MapSection |
|---|
getActionCommand, getAltText, setActionCommand, setAltText |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolygonSection()
public PolygonSection(String... values)
values - The MapSection.actionCommand and MapSection.altText values. Note that unless MapSection.actionCommand is
specified the section will not be saved in the image map.
public PolygonSection(int[] vertices,
String... values)
vertices - The array of vertices that represent the polygon. Note
that each vertex is represented by a pair of integer values.values - Optionally the MapSection.actionCommand and MapSection.altText values. Note that unless MapSection.actionCommand is
specified the section will not be saved in the image map.
public PolygonSection(Collection<Point> vertices,
String... values)
| Method Detail |
|---|
public boolean equals(Object o)
equals in class MapSectiono - The object to be compared.
true if the two objects are equivalent.public int hashCode()
hashCode in class MapSectionpublic Collection<Point> getVertices()
public void setVertices(Collection<Point> vertices)
vertices - Value to set for property 'vertices'.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||