PopUpLabel

Constructors

this
this(Text text, string source, int maxWidth, int maxHeight)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
passMCE
void passMCE(MouseEventCommons mec, MouseClickEvent mce)
Undocumented in source. Be warned that the author may not have intended to support it.
passMME
void passMME(MouseEventCommons mec, MouseMotionEvent mme)
Undocumented in source. Be warned that the author may not have intended to support it.
passMWE
void passMWE(MouseEventCommons mec, MouseWheelEvent mwe)
maxHeight
int maxHeight;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

maxWidth
int maxWidth;
Undocumented in source.
scroll
int scroll;
Undocumented in source.

Inherited Members

From PopUpElement

output
BitmapDrawer output;
Undocumented in source.
inputhandler
InputHandler inputhandler;
Undocumented in source.
position
Box position;
Undocumented in source.
customStyle
StyleSheet customStyle;
Undocumented in source.
parent
PopUpHandler parent;
Undocumented in source.
source
string source;
Undocumented in source.
text
Text text;
Undocumented in source.
onDraw
void delegate() onDraw;

Called when the element finished drawing

onMouseClick
void delegate(Event ev) onMouseClick;

Called on mouse click on element

draw
void draw()
Undocumented in source.
onClick
void onClick(int offsetX, int offsetY, int type)

Mouse click events passed here

onScroll
void onScroll(int x, int y, int wX, int wY)

Mouse scroll events passed here

onMouseMovement
void onMouseMovement(int x, int y)

Mouse movement events passed here

addParent
void addParent(PopUpHandler p)
Undocumented in source. Be warned that the author may not have intended to support it.
getStyleSheet
StyleSheet getStyleSheet()
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Box getPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
setPosition
Box setPosition(Box val)
Undocumented in source. Be warned that the author may not have intended to support it.
move
Box move(int x, int y)

Moves the PopUp to the given location

relMove
Box relMove(int x, int y)

Relatively moves the PopUp by the given amount

getOutput
ABitmap getOutput()

Returns the output of the element.

passMCE
void passMCE(MouseEventCommons mec, MouseClickEvent mce)
Undocumented in source. Be warned that the author may not have intended to support it.
passMME
void passMME(MouseEventCommons mec, MouseMotionEvent mme)
Undocumented in source. Be warned that the author may not have intended to support it.
passMWE
void passMWE(MouseEventCommons mec, MouseWheelEvent mwe)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta