|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ecl.datepicker.util.ControlHelper
public final class ControlHelper
The utility class that provides miscellaneous Controloperations.
| Method Summary | |
|---|---|
static void |
applyFont(Control control,
Font font)
|
static boolean |
contains(Composite composite,
Control control,
boolean recursive)
|
static void |
fixMacOSXComboBugIn(Composite composite)
|
static void |
hook(Composite composite,
int[] events,
Listener listener)
Hooks the given composite and all its children recursive to listen event of the given types. |
static void |
hook(Composite composite,
int event,
Listener listener)
Hooks the given composite and all its children recursive to listen event of the given type. |
static void |
layout(Composite composite,
boolean up)
|
static void |
layout(Composite composite,
boolean changed,
boolean up)
|
static void |
reparent(Control control,
Composite newParent)
Reparents the given control to the new parent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void applyFont(Control control,
Font font)
control - font -
public static boolean contains(Composite composite,
Control control,
boolean recursive)
composite - control - recursive -
public static void fixMacOSXComboBugIn(Composite composite)
composite -
public static void hook(Composite composite,
int event,
Listener listener)
composite - the compositeevent - the event typelistener - the event listener
public static void hook(Composite composite,
int[] events,
Listener listener)
composite - the compositeevents - the event typeslistener - the event listener
public static void layout(Composite composite,
boolean up)
composite - up -
public static void layout(Composite composite,
boolean changed,
boolean up)
composite - changed - up -
public static void reparent(Control control,
Composite newParent)
control - the control to change parentnewParent - the new control's parent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||