Package cl.obcom.desktopfx.core
Interface TaskWindow
public interface TaskWindow
Component that contains a
DesktopTask
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Brings this task window to the foreground.double
Returns the height of this task window.getPage()
Returns the task page of this task window.double
getPageX()
Returns the horizontal location of this task window on the page.double
getPageY()
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.double
getWidth()
Returns the width of this task window.double
getX()
Returns the horizontal location of this task window on the screen.double
getY()
Returns the vertical location of this task window on the screen.boolean
Returnstrue
if this task window is detached.boolean
Returnstrue
if this task window is in full-face mode.boolean
Returnstrue
if this task window is in full-screen mode.void
setDetached
(boolean value) Changes the detached property of this task window.void
setFullFace
(boolean value) Changes the full-face mode property of this task window.void
setFullScreen
(boolean value) Changes the full-screen mode property of this task window.void
setHeight
(double value) Changes the height of this task window.void
setPageX
(double x) Changes the horizontal location of this task window on the page.void
setPageY
(double y) Changes the vertical location of this task window on the page.void
setState
(TaskWindow.State value) Changes the state of this task window.void
Changes the title of this task window.void
setWidth
(double value) Changes the width of this task window.void
setX
(double x) Changes the horizontal location of this task window on the screen.void
setY
(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
Stage getStage()Returns the stage of this task window.- Returns:
- the stage of this task window.
-
getPage
TaskPage getPage()Returns the task page of this task window.- Returns:
- the task page or
null
if 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
String getTitle()Returns the title of this task window.- Returns:
- the title of this task window.
-
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()Returnstrue
if this task window is detached.- Returns:
true
if this task window is detached.
-
setDetached
void setDetached(boolean value) Changes the detached property of this task window.- Parameters:
value
- iftrue
this task window is detached.
-
isFullFace
boolean isFullFace()Returnstrue
if this task window is in full-face mode.- Returns:
true
if 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
- iftrue
the window is set in full-face mode.
-
isFullScreen
boolean isFullScreen()Returnstrue
if this task window is in full-screen mode.- Returns:
true
if 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
- iftrue
the window is set in full-screen mode.
-