1 6 7 package com.quikj.client.beans; 8 9 import java.awt.*; 10 11 15 public class TextAttribute 16 { 17 18 19 public TextAttribute(int style, Color color, String text) 20 { 21 setStyle(style); 22 setColor(color); 23 setText(text); 24 } 25 26 30 public java.awt.Color getColor() 31 { 32 return color; 33 } 34 35 39 public void setColor(java.awt.Color color) 40 { 41 this.color = color; 42 } 43 44 48 public int getStyle() 49 { 50 return style; 51 } 52 53 57 public void setStyle(int style) 58 { 59 this.style = style; 60 } 61 62 66 public java.lang.String getText() 67 { 68 return text; 69 } 70 71 75 public void setText(java.lang.String text) 76 { 77 this.text = text; 78 } 79 80 private int style = -1; 81 private Color color = null; 82 private String text = null; 83 } 84 | Popular Tags |