1 27 28 package org.nightlabs.editor2d.request; 29 30 31 public class TextCreateRequest 32 extends EditorCreateRequest 33 { 34 protected String fontName; 35 public String getFontName() { 36 return fontName; 37 } 38 public void setFontName(String fontName) { 39 this.fontName = fontName; 40 } 41 42 protected String text; 43 public String getText() { 44 return text; 45 } 46 public void setText(String text) { 47 this.text = text; 48 } 49 50 protected int fontSize; 51 public int getFontSize() { 52 return fontSize; 53 } 54 public void setFontSize(int fontSize) { 55 this.fontSize = fontSize; 56 } 57 58 protected int fontStyle; 59 public int getFontStyle() { 60 return fontStyle; 61 } 62 public void setFontStyle(int fontStyle) { 63 this.fontStyle = fontStyle; 64 } 65 66 public TextCreateRequest() { 67 super(); 68 } 69 70 public TextCreateRequest(Object type) { 71 super(type); 72 } 73 74 } 75 | Popular Tags |