00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 package com.realtime.crossfire.jxclient.gui.gui;
00023
00024 import org.jetbrains.annotations.NotNull;
00025
00030 public class TooltipText {
00031
00035 @NotNull
00036 private final String text;
00037
00041 private final int x;
00042
00046 private final int y;
00047
00051 private final int w;
00052
00056 private final int h;
00057
00066 public TooltipText(@NotNull final String text, final int x, final int y, final int w, final int h) {
00067 this.text = text;
00068 this.x = x;
00069 this.y = y;
00070 this.w = w;
00071 this.h = h;
00072 }
00073
00078 @NotNull
00079 public String getText() {
00080 return text;
00081 }
00082
00087 public int getX() {
00088 return x;
00089 }
00090
00095 public int getY() {
00096 return y;
00097 }
00098
00103 public int getW() {
00104 return w;
00105 }
00106
00111 public int getH() {
00112 return h;
00113 }
00114
00115 }