|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavalib.worldimages.AImage
javalib.worldimages.RasterImage
javalib.worldimages.FromURLImage
public class FromURLImage
An image loaded from a URL over the network.
| Field Summary |
|---|
| Fields inherited from class javalib.worldimages.RasterImage |
|---|
id, rendering, transparent |
| Fields inherited from interface javalib.worldimages.WorldImage |
|---|
LOOKS_SAME |
| Constructor Summary | |
|---|---|
FromURLImage(URL url)
Constructor for objects of class FromURLImage |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Is this the same as another WorldImage, as expression trees? Define this at every level that has instance variables. |
(package private) static WorldImage |
make(String urlString)
Pseudo-constructor for objects of class FromURLImage |
String |
toIndentedString(String indent)
Produce a String that represents this image, indented by the given indent. |
| Methods inherited from class javalib.worldimages.RasterImage |
|---|
build, draw, frozen, getBottom, getPixelColor, getRight, hashCode, make, map, renderIfNecessary, save, setRendering |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
FromURLImage(URL url)
throws IOException
url - the URL from which to get the imageurlString -
IOException - if there's a problem opening the URL| Method Detail |
|---|
public boolean equals(Object other)
WorldImage
equals in interface WorldImageequals in class RasterImageother - the object to compare with this
static WorldImage make(String urlString)
urlString - public String toIndentedString(String indent)
WorldImageString that represents this image, indented by the given indent.
Define this in all concrete subclasses.
Convention: The result of toIndentedString() will neither begin nor end with a newline; the specified indent will immediately follow each internal newline.
toIndentedString in interface WorldImagetoIndentedString in class RasterImageindent - the given prefix representing the desired indentation
String representation of this image
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||