Ejemplo n.º 1
0
 private TGMarker readMarker(int measure) throws IOException {
   TGMarker marker = getFactory().newMarker();
   marker.setMeasure(measure);
   marker.setTitle(readStringByteSizeOfInteger());
   readColor(marker.getColor());
   return marker;
 }
Ejemplo n.º 2
0
  private TGMarker readMarker(int measure) {
    TGMarker marker = this.factory.newMarker();

    marker.setMeasure(measure);

    // leo el titulo
    marker.setTitle(readUnsignedByteString());

    // leo el color
    readRGBColor(marker.getColor());

    return marker;
  }