org.free.garminimg
Class Label

java.lang.Object
  extended by org.free.garminimg.Label
Direct Known Subclasses:
LineInNetLabel, POILabel, SimpleLabel

public abstract class Label
extends java.lang.Object

Base class for a label.


Field Summary
protected  ImgFileBag file
           
protected  boolean initDone
           
protected  int labelOffset
           
protected  java.lang.String name
           
 
Constructor Summary
Label(ImgFileBag file, int labelOffset)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
protected abstract  void init()
           
protected  void initIfNeeded()
           
 java.lang.String toDebugHtml()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

file

protected ImgFileBag file

labelOffset

protected final int labelOffset

name

protected java.lang.String name

initDone

protected boolean initDone
Constructor Detail

Label

public Label(ImgFileBag file,
             int labelOffset)
Method Detail

initIfNeeded

protected void initIfNeeded()
                     throws java.io.IOException
Throws:
java.io.IOException

getName

public java.lang.String getName()
                         throws java.io.IOException
Throws:
java.io.IOException

init

protected abstract void init()
                      throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toDebugHtml

public java.lang.String toDebugHtml()
                             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.