Package org.wicketstuff.yui.helper

Examples of org.wicketstuff.yui.helper.YuiImage


      private static final long serialVersionUID = 1L;

      protected void populateItem(ListItem item) {
        TargetSlot targetSlot = (TargetSlot) item.getModelObject();
        YuiImage slot = targetSlot.getSlot();
        item.add(new DragDropTargetSlot(targetSlotList.getSlotId(),
            item.getIndex(), slot, settings));
      };
    };
    add(targetSlotView);

    // Add the dragable slots and dragable images
    ListView dragableSlotView = new ListView(dragableSlotList.getId(),
        dragableSlotList.getDragableList()) {

      private static final long serialVersionUID = 1L;

      protected void populateItem(ListItem item) {
        DragableSlot dragableSlot = (DragableSlot) item
            .getModelObject();
        YuiImage slot = dragableSlot.getSlot();
        YuiImage img = dragableSlot.getImage();
        item.add(new DragDropDragableSlot(dragableSlotList.getSlotId(),
            item.getIndex(), slot, settings));
        item.add(new DragDropPlayer(dragableSlotList.getImgId(), item
            .getIndex(), img, settings));
      };
View Full Code Here

TOP

Related Classes of org.wicketstuff.yui.helper.YuiImage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.