|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.rover.RoverBlock<T>
public class RoverBlock<T extends RoverShape>
A block of similar shapes.
In Rover binary formats, shapes are generally grouped into blocks with the same class and drawId and similar parameters. This class models those blocks.
Copyright 2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
RoverBlock(int dataId,
T... shapes)
Creates a block from the given dataId and shapes. |
|
RoverBlock(RoverBlockHeader header,
java.util.List<T> shapes)
Creates a block from the given header and shapes. |
|
RoverBlock(RoverBlockHeader header,
T... shapes)
Creates a block from the given header and shapes. |
|
RoverBlock(T shape)
Creates a block from the given shape, setting up the header correctly based on shape parameters. |
|
| Method Summary | |
|---|---|
RoverBlockHeader |
getHeader()
|
java.util.Iterator<T> |
iterator()
|
java.util.List<T> |
listShapes()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoverBlock(int dataId,
T... shapes)
public RoverBlock(T shape)
shape -
public RoverBlock(RoverBlockHeader header,
T... shapes)
header - shapes -
public RoverBlock(RoverBlockHeader header,
java.util.List<T> shapes)
header - shapes - | Method Detail |
|---|
public RoverBlockHeader getHeader()
public java.util.List<T> listShapes()
public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T extends RoverShape>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||