Examples of CharacterEntity


Examples of org.takadb.editor.database.entities.CharacterEntity

   */
  public int newCharacter() {
    // find the current biggest elementID
    int lMaxID = getMaxCharacterId();
    lMaxID++;
    CharacterEntity lNewEmptyCharacter = new CharacterEntity(lMaxID);
    characters.put(new Integer(lMaxID), lNewEmptyCharacter);
    return lMaxID;
  }
View Full Code Here

Examples of org.takadb.editor.database.entities.CharacterEntity

   * @param identifier
   * @return
   */
  public int cloneCharacter(int iId) {
    int lId = getMaxCharacterId()+1;
    CharacterEntity lCharacterToClone = getCharacter(new Integer(iId));
    CharacterEntity lNewCharacter = (CharacterEntity) lCharacterToClone.clone();
    lNewCharacter.characterId =  lId;
    //don't use set character as it makes a clone
    characters.put(new Integer(lId), lNewCharacter);
    return lId;
  }
View Full Code Here

Examples of org.takadb.editor.database.entities.CharacterEntity

        });
    lSortedCharacters.addAll(lCharacters);
   
    for (Iterator lIter = lSortedCharacters.iterator(); lIter.hasNext();)
    {
      CharacterEntity lCurChar = (CharacterEntity) lIter.next();
      GlyphAddress lCurAddress =  _GlyphMappingTable[lCurChar.jaElementId][1];
      lOut.print("\t" + lCurAddress._RecordID + " ");
      if (sVersion >= 5)
        lOut.print(lCurAddress._Offset + " ");
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.