1 26 27 package org.nightlabs.editor2d.viewer.tool; 28 29 import java.awt.image.BufferedImage ; 30 31 public class ToolEntry 32 implements IToolEntry 33 { 34 35 public ToolEntry(ITool tool, String name, BufferedImage image) 36 { 37 this.tool = tool; 38 this.name = name; 39 this.image = image; 40 } 41 42 protected ITool tool = null; 43 public ITool getTool() { 44 return tool; 45 } 46 public void setTool(ITool tool) { 47 this.tool = tool; 48 } 49 50 protected String name = null; 51 public String getName() { 52 return name; 53 } 54 public void setName(String name) { 55 this.name = name; 56 } 57 58 protected BufferedImage image = null; 59 public BufferedImage getImage() { 60 return image; 61 } 62 public void setImage(BufferedImage image) { 63 this.image = image; 64 } 65 66 } 67 | Popular Tags |