|
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.CircleSection
public class CircleSection
A model object that represents a circular clickable section in a 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 | |
|---|---|
CircleSection()
Default constructor. |
|
CircleSection(int x,
int y,
int radius,
String... values)
Create a new instance using the specified values. |
|
CircleSection(Point centre,
int radius,
String... values)
Designated constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare the specified object with this instance for equality. |
Point |
getCentre()
Accessor for property 'centre'. |
int |
getRadius()
Accessor for property 'radius'. |
int |
hashCode()
Compute a hash code for this instance. |
void |
setCentre(Point centre)
Mutator for property 'centre'. |
void |
setRadius(int radius)
Mutator for property 'radius'. |
| 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 CircleSection()
public CircleSection(int x,
int y,
int radius,
String... values)
x - The x-coordinate of the centroid of the circular section.y - The y-coordinate of the centroid of the circular section.radius - The radius of the circular section.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 CircleSection(Point centre,
int radius,
String... values)
centre - The point that represents the centroid of the circle.radius - The radius of the circular section.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.| Method Detail |
|---|
public boolean equals(Object o)
equals in class MapSectiono - The object that is to be compared.
true if the specified object is equivalent.public int hashCode()
hashCode in class MapSectionpublic Point getCentre()
public void setCentre(Point centre)
centre - Value to set for property 'centre'.public int getRadius()
public void setRadius(int radius)
radius - Value to set for property 'radius'.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||