Changeset 282 for trunk/src/org/expeditee/items/XRayable.java
- Timestamp:
- 08/27/08 09:18:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/XRayable.java
r278 r282 6 6 import java.util.LinkedList; 7 7 import java.util.List; 8 9 import org.expeditee.gui.FrameGraphics; 8 10 9 11 public abstract class XRayable extends Item { … … 115 117 public float getThickness() { 116 118 return _source.getThickness(); 119 } 120 121 @Override 122 public Float getAnchorBottom() { 123 return _source.getAnchorBottom(); 124 } 125 126 @Override 127 public Float getAnchorRight() { 128 return _source.getAnchorRight(); 117 129 } 118 130 … … 205 217 public void setAnchorBottom(Float anchor) { 206 218 _source.setAnchorBottom(anchor); 219 if (anchor != null) 220 _source.setY(FrameGraphics.getMaxFrameSize().height - getHeight() - anchor); 207 221 } 208 222
Note:
See TracChangeset
for help on using the changeset viewer.