public static class CursorDisplayer.Label extends Object
Modifier and Type | Field and Description |
---|---|
protected Color |
color |
protected Component |
source |
protected int |
sourceX |
protected int |
sourceY |
protected String |
text |
Constructor and Description |
---|
CursorDisplayer.Label(Component source) |
CursorDisplayer.Label(Component source,
String text,
int sourceX,
int sourceY) |
CursorDisplayer.Label(Component source,
String text,
int sourceX,
int sourceY,
Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
int |
getSourceX() |
int |
getSourceY() |
String |
getText() |
int |
getX(Component target) |
int |
getY(Component target) |
void |
setSourceX(int sourceX) |
void |
setSourceY(int sourceY) |
void |
setText(String text) |
protected Component source
protected String text
protected int sourceX
protected int sourceY
protected Color color
public CursorDisplayer.Label(Component source)
public CursorDisplayer.Label(Component source, String text, int sourceX, int sourceY)
public void setText(String text)
public void setSourceX(int sourceX)
public void setSourceY(int sourceY)
public int getSourceX()
public int getSourceY()
public String getText()
public Color getColor()
public int getX(Component target)
public int getY(Component target)
Copyright © 2000–2016 DFKI GmbH. All rights reserved.