Changeset 930


Ignore:
Timestamp:
11/15/14 17:48:30 (10 years ago)
Author:
bln4
Message:

XItems now have remember what XGroup they belong in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/flowlayout/XRawItem.java

    r919 r930  
    2525{
    2626        protected Item item;
     27        protected XGroupItem xgroup;
    2728       
    28         public XRawItem(Item item)
     29        public XRawItem(Item item, final XGroupItem belongsTo)
    2930        {
    3031                this.item = item;
     32                this.xgroup = belongsTo;
    3133               
    3234                if (item instanceof Text) {
     
    4951        }
    5052       
     53        public XGroupItem getGroup() {
     54                return xgroup;
     55        }
     56       
    5157        public String toString() {
    5258                return "XRawItem For " + item.toString();
Note: See TracChangeset for help on using the changeset viewer.