Interface TaskWindow
public interface TaskWindow
Component that contains a
DesktopTask.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidBrings this task window to the foreground.doubleReturns the height of this task window.getPage()Returns the task page of this task window.doublegetPageX()Returns the horizontal location of this task window on the page.doublegetPageY()Returns the vertical location of this task window on the page.getStage()Returns the stage of this task window.getState()Returns the state of this task window.getTitle()Returns the title of this task window.doublegetWidth()Returns the width of this task window.doublegetX()Returns the horizontal location of this task window on the screen.doublegetY()Returns the vertical location of this task window on the screen.booleanReturnstrueif this task window is detached.booleanReturnstrueif this task window is in full-face mode.booleanReturnstrueif this task window is in full-screen mode.voidsetDetached(boolean value) Changes the detached property of this task window.voidsetFullFace(boolean value) Changes the full-face mode property of this task window.voidsetFullScreen(boolean value) Changes the full-screen mode property of this task window.voidsetHeight(double value) Changes the height of this task window.voidsetPageX(double x) Changes the horizontal location of this task window on the page.voidsetPageY(double y) Changes the vertical location of this task window on the page.voidsetState(TaskWindow.State value) Changes the state of this task window.voidChanges the title of this task window.voidsetWidth(double value) Changes the width of this task window.voidsetX(double x) Changes the horizontal location of this task window on the screen.voidsetY(double y) Changes the vertical location of this task window on the screen.
-
Method Details
-
getState
TaskWindow.State getState()Returns the state of this task window.- Returns:
- the state of this task window.
-
setState
Changes the state of this task window.- Parameters:
value- the new state of this task window.
-
getStage
-
getPage
TaskPage getPage()Returns the task page of this task window.- Returns:
- the task page or
nullif not defined.
-
bringToFront
void bringToFront()Brings this task window to the foreground. If the window is already in the foreground there is no visible difference. -
getTitle
-
setTitle
Changes the title of this task window.- Parameters:
value- the new title of this task window.
-
getX
double getX()Returns the horizontal location of this task window on the screen.- Returns:
- the horizontal location of this task window on the screen.
-
setX
void setX(double x) Changes the horizontal location of this task window on the screen.- Parameters:
x- the horizontal location of this task window on the screen.
-
getY
double getY()Returns the vertical location of this task window on the screen.- Returns:
- the vertical location of this task window on the screen.
-
setY
void setY(double y) Changes the vertical location of this task window on the screen.- Parameters:
y- the vertical location of this task window on the screen.
-
getPageX
double getPageX()Returns the horizontal location of this task window on the page.- Returns:
- the horizontal location of this task window on the page.
-
setPageX
void setPageX(double x) Changes the horizontal location of this task window on the page.- Parameters:
x- the horizontal location of this task window on the page.
-
getPageY
double getPageY()Returns the vertical location of this task window on the page.- Returns:
- the vertical location of this task window on the page.
-
setPageY
void setPageY(double y) Changes the vertical location of this task window on the page.- Parameters:
y- the vertical location of this task window on the page.
-
getWidth
double getWidth()Returns the width of this task window.- Returns:
- the width of this task window.
-
setWidth
void setWidth(double value) Changes the width of this task window.- Parameters:
value- the new width of this task window.
-
getHeight
double getHeight()Returns the height of this task window.- Returns:
- the height of this task window.
-
setHeight
void setHeight(double value) Changes the height of this task window.- Parameters:
value- the new height of this task window.
-
isDetached
boolean isDetached()Returnstrueif this task window is detached.- Returns:
trueif this task window is detached.
-
setDetached
void setDetached(boolean value) Changes the detached property of this task window.- Parameters:
value- iftruethis task window is detached.
-
isFullFace
boolean isFullFace()Returnstrueif this task window is in full-face mode.- Returns:
trueif this task window is in full-face mode.
-
setFullFace
void setFullFace(boolean value) Changes the full-face mode property of this task window.- Parameters:
value- iftruethe window is set in full-face mode.
-
isFullScreen
boolean isFullScreen()Returnstrueif this task window is in full-screen mode.- Returns:
trueif this task window is in full-screen mode.
-
setFullScreen
void setFullScreen(boolean value) Changes the full-screen mode property of this task window.- Parameters:
value- iftruethe window is set in full-screen mode.
-