|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.eoapplication.EODisplayUtilities
public class EODisplayUtilities
Field Summary | |
---|---|
static String |
ComponentAlignmentContainerMarker
|
static String |
ComponentAlignmentLabelMarker
|
static String |
ComponentAlignmentMinimumWidthKey
|
Constructor Summary | |
---|---|
EODisplayUtilities()
|
Method Summary | |
---|---|
static void |
activateWindow(Window window,
boolean tryActivatingDelayed)
|
static boolean |
activateWindowIfVisible(Window window)
|
static boolean |
componentPrefersHorizontalResizing(JComponent component)
|
static boolean |
componentPrefersVerticalResizing(JComponent component)
|
static String |
displayLabelForString(String string)
|
static void |
fillTargetSizeWithUnionSize(Dimension targetSize,
Dimension size,
Dimension anotherSize)
|
static boolean |
fillTargetSizeWithUnionSize(Dimension targetSize,
int anotherWidth,
int anotherHeight)
|
static void |
integrateTransientSubcontrollerComponentForController(EOComponentController controller,
EOComponentController subcontroller,
Dimension minimumSubcontrollerAreaSizeBeforeForgettingTransientController,
boolean layoutIsHorizontal)
|
static String |
localizedDisplayLabelForString(String string)
|
static void |
locateWindow(Window window,
Dimension size,
int windowPosition,
int numberOfOffsets)
|
static void |
locateWindow(Window window,
Dimension size,
Point location)
|
static Dimension |
minimumComponentSizeWithIntegratedComponents(EOComponentController controller,
Dimension minimumComponentSizeWithoutIntegratedComponents,
Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes)
|
static Dimension |
minimumComponentSizeWithIntegratedComponents(EOComponentController controller,
Dimension minimumComponentSizeWithoutIntegratedComponents,
Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes,
boolean layoutIsHorizontal)
|
static Dimension |
minimumSubcontrollerAreaSizeWithIntegratedComponents(Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes,
boolean layoutIsHorizontal)
|
static void |
relocateWindow(Window window,
Dimension size,
int windowPosition)
|
static void |
removeComponentFromParentContainer(Component component)
|
static void |
tryToRemoveComponent(Component component)
|
static Dimension |
unionSize(Dimension size,
Dimension anotherSize)
|
static Dimension |
unionSize(int width,
int height,
int anotherWidth,
int anotherHeight)
|
static void |
updateComponentInContainer(EOComponentController controllerProvidingSizeInformation,
JComponent updateComponent,
Dimension updateMinimumSize,
boolean prefersHorizontalResizing,
boolean prefersVerticalResizing,
JComponent container,
boolean layoutIsHorizontal)
|
static void |
updateComponentInController(EOComponentController controller,
JComponent updateComponent,
Dimension updateMinimumSize,
boolean prefersHorizontalResizing,
boolean prefersVerticalResizing,
boolean useSubcontrollerArea,
boolean layoutIsHorizontal)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ComponentAlignmentLabelMarker
public static final String ComponentAlignmentContainerMarker
public static final String ComponentAlignmentMinimumWidthKey
Constructor Detail |
---|
public EODisplayUtilities()
Method Detail |
---|
public static String displayLabelForString(String string)
string
- public static String localizedDisplayLabelForString(String string)
string
- public static Dimension unionSize(Dimension size, Dimension anotherSize)
size
- anotherSize
- public static Dimension unionSize(int width, int height, int anotherWidth, int anotherHeight)
width
- height
- anotherWidth
- anotherHeight
- public static void fillTargetSizeWithUnionSize(Dimension targetSize, Dimension size, Dimension anotherSize)
targetSize
- size
- anotherSize
- public static boolean fillTargetSizeWithUnionSize(Dimension targetSize, int anotherWidth, int anotherHeight)
targetSize
- anotherWidth
- anotherHeight
- public static boolean componentPrefersHorizontalResizing(JComponent component)
component
- public static boolean componentPrefersVerticalResizing(JComponent component)
component
- public static void updateComponentInContainer(EOComponentController controllerProvidingSizeInformation, JComponent updateComponent, Dimension updateMinimumSize, boolean prefersHorizontalResizing, boolean prefersVerticalResizing, JComponent container, boolean layoutIsHorizontal)
controllerProvidingSizeInformation
- updateComponent
- updateMinimumSize
- prefersHorizontalResizing
- prefersVerticalResizing
- container
- layoutIsHorizontal
- public static void updateComponentInController(EOComponentController controller, JComponent updateComponent, Dimension updateMinimumSize, boolean prefersHorizontalResizing, boolean prefersVerticalResizing, boolean useSubcontrollerArea, boolean layoutIsHorizontal)
controller
- updateComponent
- updateMinimumSize
- prefersHorizontalResizing
- prefersVerticalResizing
- useSubcontrollerArea
- layoutIsHorizontal
- public static Dimension minimumComponentSizeWithIntegratedComponents(EOComponentController controller, Dimension minimumComponentSizeWithoutIntegratedComponents, Dimension minimumSubcontrollerAreaSize, NSArray integratedComponentSizes, boolean layoutIsHorizontal)
controller
- minimumComponentSizeWithoutIntegratedComponents
- minimumSubcontrollerAreaSize
- integratedComponentSizes
- layoutIsHorizontal
- public static Dimension minimumComponentSizeWithIntegratedComponents(EOComponentController controller, Dimension minimumComponentSizeWithoutIntegratedComponents, Dimension minimumSubcontrollerAreaSize, NSArray integratedComponentSizes)
controller
- minimumComponentSizeWithoutIntegratedComponents
- minimumSubcontrollerAreaSize
- integratedComponentSizes
- public static Dimension minimumSubcontrollerAreaSizeWithIntegratedComponents(Dimension minimumSubcontrollerAreaSize, NSArray integratedComponentSizes, boolean layoutIsHorizontal)
minimumSubcontrollerAreaSize
- integratedComponentSizes
- layoutIsHorizontal
- public static void integrateTransientSubcontrollerComponentForController(EOComponentController controller, EOComponentController subcontroller, Dimension minimumSubcontrollerAreaSizeBeforeForgettingTransientController, boolean layoutIsHorizontal)
controller
- subcontroller
- minimumSubcontrollerAreaSizeBeforeForgettingTransientController
- layoutIsHorizontal
- public static void removeComponentFromParentContainer(Component component)
component
- public static void tryToRemoveComponent(Component component)
component
- public static void activateWindow(Window window, boolean tryActivatingDelayed)
window
- public static boolean activateWindowIfVisible(Window window)
window
- public static void locateWindow(Window window, Dimension size, Point location)
window
- size
- location
- public static void locateWindow(Window window, Dimension size, int windowPosition, int numberOfOffsets)
window
- size
- windowPosition
- numberOfOffsets
- public static void relocateWindow(Window window, Dimension size, int windowPosition)
window
- size
- windowPosition
-
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |