|
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.RectangleSection
public class RectangleSection
A model object that represents a rectangular clickable section on 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 | |
|---|---|
RectangleSection()
Default constructor. |
|
RectangleSection(int bottomx,
int bottomy,
int topx,
int topy,
String... values)
Create a new instance using the specified values. |
|
RectangleSection(Point bottom,
Point top,
String... values)
Designated constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare the specified object with this instance for equality. |
Point |
getBottom()
Accessor for property 'bottom'. |
Point |
getTop()
Accessor for property 'top'. |
int |
hashCode()
Compute a hash code for this instance. |
void |
setBottom(Point bottom)
Mutator for property 'bottom'. |
void |
setTop(Point top)
Mutator for property 'top'. |
| 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 RectangleSection()
public RectangleSection(int bottomx,
int bottomy,
int topx,
int topy,
String... values)
bottomx - The x-coordinate of the origin of the rectangle.bottomy - The y-coordinate of the origin of the rectangle.topx - The x-coordinate of the end of the rectangle.topy - The y-coordinate of the end of the rectangle.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 RectangleSection(Point bottom,
Point top,
String... values)
bottom - The bottom corner of the rectangle.top - The top corner of the rectangle.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 to be compared.
true if the two objects are equivalent.public int hashCode()
MapSection
hashCode in class MapSectionpublic Point getBottom()
public void setBottom(Point bottom)
bottom - Value to set for property 'bottom'.public Point getTop()
public void setTop(Point top)
top - Value to set for property 'top'.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||