public class UIUtility
extends java.lang.Object
Constructor and Description |
---|
UIUtility() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Popup |
createAndShowPopup(java.lang.String msg,
java.awt.Component owner)
Shows a popup text message that is centered in the component owner
|
static void |
hidePopup(javax.swing.Popup popup)
Hides a
Popup message. |
static ilog.views.gantt.scale.IlvTimeScale |
setUserLocaleForTimeScale(ilog.views.gantt.scale.IlvTimeScale timescale)
Creates an adjustable timescale which is controlled by a visibility policy
deciding on the number of visible rows
based on the zoom level, also localizes the text for the display.
|
public static javax.swing.Popup createAndShowPopup(java.lang.String msg, java.awt.Component owner)
msg
- Message to displayowner
- component to which the popup belongsPopup
instance that is shownpublic static void hidePopup(javax.swing.Popup popup)
Popup
message. It will suppress any errors.popup
- public static ilog.views.gantt.scale.IlvTimeScale setUserLocaleForTimeScale(ilog.views.gantt.scale.IlvTimeScale timescale)