Changes between Version 8 and Version 9 of FRAME_Z_ORDER_R0
- Timestamp:
- 05/06/09 22:49:41 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FRAME_Z_ORDER_R0
v8 v9 44 44 * auto property zOrder of type Integer 45 45 * Integer compute() method: gets the index of current frame in the list of frames in current page 46 * void doSet(Integer value) method: moves current frame to the position with the given index. \46 * void doSet(Integer value) method: moves current frame to the position with the given index. 47 47 48 * In class org.sophie2.main.view.FrameView 49 * Prop<Integer> visibleLayer() with internal class which extends AutoProperty<Integer> 50 * compute() method: if the frame is the currently selected frame, give it maximum value 48 * In FrameLogic: 49 * Z_ORDER_DOWN 50 * creates new AutoChange which decreases the property Frame.zOrder 51 * Z_ORDER_UP - analogically 51 52 52 * In class org.sophie2.main.view.logic.FrameLogic: 53 * public void userZOrderDown(final FrameView frameView) 54 * creates new AutoChange which decreases the property Frame.zOrder 55 * userZOrderUp - analogically 56 57 * class org.sophie2.main.view.halos.menus.frame.ZOrderDownButton extends ClickHaloButton 58 * set icon "zOrderDown.png" 59 * void userClick() calls userZOrderDown in FrameLogic 53 * Create two halo buttons in org.sophie2.main.app.halos.frame 54 * FrameZOrderDownHaloButton and FrameZOrderUpHaloButton, extend ClickHaloButton 55 * attach them to MainHaloMenu 56 * set icons - "zOrderDown.png" and "zOrderUp.png" 60 57 * class ZOrderUpButton - analogically 61 62 * In class org.sophie2.main.view.halos.menus.frame.FrameHaloMenu's constructor63 * add ZOrderDownButton and ZOrderUpButton64 65 * In class org.sophie2.main.view.PageView66 * Prop<JDesktopPane> swingPanel(), which is a ResourceProperty67 * ...68 58 69 59 = Implementation =