Ignore:
Timestamp:
08/27/08 09:18:49 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

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

    r278 r282  
    66import java.util.LinkedList;
    77import java.util.List;
     8
     9import org.expeditee.gui.FrameGraphics;
    810
    911public abstract class XRayable extends Item {
     
    115117        public float getThickness() {
    116118                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();
    117129        }
    118130       
     
    205217        public void setAnchorBottom(Float anchor) {
    206218                _source.setAnchorBottom(anchor);
     219                if (anchor != null)
     220                        _source.setY(FrameGraphics.getMaxFrameSize().height - getHeight() - anchor);
    207221        }
    208222       
Note: See TracChangeset for help on using the changeset viewer.