Changeset 247 for trunk/src/org/expeditee/items/Item.java
- Timestamp:
- 08/22/08 10:54:44 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Item.java
r242 r247 1357 1357 for (Line line : _lines) { 1358 1358 Item other = line.getOppositeEnd(this); 1359 if (other.getFillColor() != c) 1359 if (other.getFillColor() != c){ 1360 1360 other.setFillColor(c); 1361 } 1361 1362 } 1362 1363 … … 1747 1748 "Item type does not support width attribute!"); 1748 1749 } 1750 1751 public void setRightMargin(int i) { 1752 setWidth(i - getX() - Item.MARGIN_LEFT); 1753 } 1749 1754 1750 1755 /** … … 2377 2382 } 2378 2383 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 */ 2379 2390 public Collection<? extends XRayable> getEnclosures() { 2380 2391 return _enclosures; … … 2574 2585 */ 2575 2586 protected boolean hasVisibleBorder() { 2576 return getThickness() > 0 ;2587 return getThickness() > 0 && !isLineEnd(); 2577 2588 } 2578 2589
Note:
See TracChangeset
for help on using the changeset viewer.