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 |
ComponentAlignmentContainerMarker
public static final String ComponentAlignmentContainerMarker
ComponentAlignmentLabelMarker
public static final String ComponentAlignmentLabelMarker
ComponentAlignmentMinimumWidthKey
public static final String ComponentAlignmentMinimumWidthKey
EODisplayUtilities
public EODisplayUtilities()
activateWindow
public static void activateWindow(Window window,
boolean tryActivatingDelayed)
-
- Parameters:
window
-
activateWindowIfVisible
public static boolean activateWindowIfVisible(Window window)
-
- Parameters:
window
-
- Returns:
componentPrefersHorizontalResizing
public static boolean componentPrefersHorizontalResizing(JComponent component)
-
- Parameters:
component
-
- Returns:
componentPrefersVerticalResizing
public static boolean componentPrefersVerticalResizing(JComponent component)
-
- Parameters:
component
-
- Returns:
displayLabelForString
public static String displayLabelForString(String string)
-
- Parameters:
string
-
- Returns:
fillTargetSizeWithUnionSize
public static void fillTargetSizeWithUnionSize(Dimension targetSize,
Dimension size,
Dimension anotherSize)
-
- Parameters:
targetSize
- size
- anotherSize
-
fillTargetSizeWithUnionSize
public static boolean fillTargetSizeWithUnionSize(Dimension targetSize,
int anotherWidth,
int anotherHeight)
-
- Parameters:
targetSize
- anotherWidth
- anotherHeight
-
- Returns:
integrateTransientSubcontrollerComponentForController
public static void integrateTransientSubcontrollerComponentForController(EOComponentController controller,
EOComponentController subcontroller,
Dimension minimumSubcontrollerAreaSizeBeforeForgettingTransientController,
boolean layoutIsHorizontal)
-
- Parameters:
controller
- subcontroller
- minimumSubcontrollerAreaSizeBeforeForgettingTransientController
- layoutIsHorizontal
-
localizedDisplayLabelForString
public static String localizedDisplayLabelForString(String string)
-
- Parameters:
string
-
- Returns:
locateWindow
public static void locateWindow(Window window,
Dimension size,
Point location)
-
- Parameters:
window
- size
- location
-
locateWindow
public static void locateWindow(Window window,
Dimension size,
int windowPosition,
int numberOfOffsets)
-
- Parameters:
window
- size
- windowPosition
- numberOfOffsets
-
minimumComponentSizeWithIntegratedComponents
public static Dimension minimumComponentSizeWithIntegratedComponents(EOComponentController controller,
Dimension minimumComponentSizeWithoutIntegratedComponents,
Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes,
boolean layoutIsHorizontal)
-
- Parameters:
controller
- minimumComponentSizeWithoutIntegratedComponents
- minimumSubcontrollerAreaSize
- integratedComponentSizes
- layoutIsHorizontal
-
- Returns:
minimumComponentSizeWithIntegratedComponents
public static Dimension minimumComponentSizeWithIntegratedComponents(EOComponentController controller,
Dimension minimumComponentSizeWithoutIntegratedComponents,
Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes)
-
- Parameters:
controller
- minimumComponentSizeWithoutIntegratedComponents
- minimumSubcontrollerAreaSize
- integratedComponentSizes
-
- Returns:
minimumSubcontrollerAreaSizeWithIntegratedComponents
public static Dimension minimumSubcontrollerAreaSizeWithIntegratedComponents(Dimension minimumSubcontrollerAreaSize,
NSArray integratedComponentSizes,
boolean layoutIsHorizontal)
-
- Parameters:
minimumSubcontrollerAreaSize
- integratedComponentSizes
- layoutIsHorizontal
-
- Returns:
relocateWindow
public static void relocateWindow(Window window,
Dimension size,
int windowPosition)
-
- Parameters:
window
- size
- windowPosition
-
removeComponentFromParentContainer
public static void removeComponentFromParentContainer(Component component)
-
- Parameters:
component
-
tryToRemoveComponent
public static void tryToRemoveComponent(Component component)
-
- Parameters:
component
-
unionSize
public static Dimension unionSize(Dimension size,
Dimension anotherSize)
-
- Parameters:
size
- anotherSize
-
- Returns:
unionSize
public static Dimension unionSize(int width,
int height,
int anotherWidth,
int anotherHeight)
-
- Parameters:
width
- height
- anotherWidth
- anotherHeight
-
- Returns:
updateComponentInContainer
public static void updateComponentInContainer(EOComponentController controllerProvidingSizeInformation,
JComponent updateComponent,
Dimension updateMinimumSize,
boolean prefersHorizontalResizing,
boolean prefersVerticalResizing,
JComponent container,
boolean layoutIsHorizontal)
-
- Parameters:
controllerProvidingSizeInformation
- updateComponent
- updateMinimumSize
- prefersHorizontalResizing
- prefersVerticalResizing
- container
- layoutIsHorizontal
-
updateComponentInController
public static void updateComponentInController(EOComponentController controller,
JComponent updateComponent,
Dimension updateMinimumSize,
boolean prefersHorizontalResizing,
boolean prefersVerticalResizing,
boolean useSubcontrollerArea,
boolean layoutIsHorizontal)
-
- Parameters:
controller
- updateComponent
- updateMinimumSize
- prefersHorizontalResizing
- prefersVerticalResizing
- useSubcontrollerArea
- layoutIsHorizontal
-
Copyright © 2004 Apple Computer, Inc.