|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.task.ui.JTaskConfig
public class JTaskConfig
Used to configure the JTask UI component.
Constructor Summary | |
---|---|
JTaskConfig()
|
Method Summary | |
---|---|
void |
displayCancelButton(boolean flag)
Enables/Disables Display of the Cancel Button. |
void |
displayCloseButton(boolean flag)
Enables/Disables Display of the Close Button. |
void |
displayStatus(boolean flag)
Enables/Disables Display of the Status Field. |
void |
displayTimeElapsed(boolean flag)
Enables/Disables Display of the Time Elapsed Field. |
void |
displayTimeRemaining(boolean flag)
Enables/Disables Display of the Time Remaining Field. |
int |
getMillisToPopup()
Gets Millieconds until JTask Dialog Box is Displayed. |
void |
setAutoDispose(boolean flag)
Enables/Disables Auto-Dispose Feature. |
void |
setMillisToPopup(int millisToPopup)
Sets Milliseconds until JTask Dialog Box is Displayed. |
void |
setModal(boolean modal)
Enables modality of the JTask Dialog box. |
void |
setOwner(Container owner)
Specifies the Owner of the JTask. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTaskConfig()
Method Detail |
---|
public void displayStatus(boolean flag)
By default, this value is set to false.
flag
- boolean value.public void displayTimeElapsed(boolean flag)
By default, this value is set to false.
flag
- boolean value.public void displayTimeRemaining(boolean flag)
By default, this value is set to false.
flag
- boolean value.public void displayCancelButton(boolean flag)
By default, this value is set to false.
flag
- boolean value.public void displayCloseButton(boolean flag)
By default, this value is set to false.
flag
- boolean value.public void setAutoDispose(boolean flag)
By default, this value is set to true.
flag
- boolean value.public void setOwner(Container owner)
Primarily used to center the JTask component relative to an owner, such as a JFrame object.
If set to null, the JTask component will be centered relative to the user's screen.
owner
- Owner container. May be null.public void setModal(boolean modal)
When set to true, the JTask Dialog box is modal, and the user cannot interact with any other UI components on the screen.
When set to false, the JTask Dialog box is not modal, and the user may interact with other UI components on the screen.
By default, this value is set to true.
modal
- modality flag.public void setMillisToPopup(int millisToPopup)
Default is set to 100 ms.
millisToPopup
- long value.public int getMillisToPopup()
Default is set to 100 ms.
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |