Ignore:
Timestamp:
08/22/08 10:54:44 (16 years ago)
Author:
ra33
Message:

Added more import and mail stuff... including text importer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Item.java

    r242 r247  
    13571357                for (Line line : _lines) {
    13581358                        Item other = line.getOppositeEnd(this);
    1359                         if (other.getFillColor() != c)
     1359                        if (other.getFillColor() != c){
    13601360                                other.setFillColor(c);
     1361                        }
    13611362                }
    13621363
     
    17471748                                "Item type does not support width attribute!");
    17481749        }
     1750       
     1751        public void setRightMargin(int i) {
     1752                setWidth(i - getX() - Item.MARGIN_LEFT);
     1753        }
    17491754
    17501755        /**
     
    23772382        }
    23782383
     2384        /**
     2385         * Gets any XRayable items that have this item as a source.
     2386         *
     2387         * @return the collection of items that are linked to this item as source.
     2388         *         Guarenteed not to be null.
     2389         */
    23792390        public Collection<? extends XRayable> getEnclosures() {
    23802391                return _enclosures;
     
    25742585         */
    25752586        protected boolean hasVisibleBorder() {
    2576                 return getThickness() > 0;
     2587                return getThickness() > 0 && !isLineEnd();
    25772588        }
    25782589
Note: See TracChangeset for help on using the changeset viewer.