Ignore:
Timestamp:
07/18/08 14:28:41 (16 years ago)
Author:
ra33
Message:

Added anchorRight and anchorBottom properties to items...
Fixed bugs with @i item display...
Can now inject properties into enclosed items at the same time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/agents/SwitchyardTree.java

    r121 r147  
    2626                                        Frame childFrame = FrameIO.LoadFrame(link);
    2727                                        if (childFrame != null) {
    28                                                 Point2D.Float lastItemEnd = textItem.getEndParagraphPosition();
     28                                                Point2D.Float lastItemEnd = textItem.getParagraphEndPosition();
    2929                                                for (Text childItem : childFrame.getBodyTextItems(false)) {
    3030                                                        // look for red items
     
    3636                                                                itemCopy.setPosition(lastItemEnd.x, lastItemEnd.y);
    3737                                                                lastItemEnd = itemCopy
    38                                                                                 .getEndParagraphPosition();
     38                                                                                .getParagraphEndPosition();
    3939                                                                frame.addItem(itemCopy);
    4040                                                        }
Note: See TracChangeset for help on using the changeset viewer.