Search this API

y.option
Class TableEditorFactory.EditorLocation

java.lang.Object
  extended by y.option.TableEditorFactory.EditorLocation
Enclosing class:
TableEditorFactory

public static final class TableEditorFactory.EditorLocation
extends java.lang.Object

Enumeration to specify where external item editors should appear.

 

Field Summary
static TableEditorFactory.EditorLocation CENTERED_ON_SCREEN
          Specifies that external item editors should be centered on the screen.
static TableEditorFactory.EditorLocation RELATIVE_TO_EDITOR_COMPONENT
          Specifies that external item editors should be located relative to the table editor's editor component.
static TableEditorFactory.EditorLocation RELATIVE_TO_REFERENCE_COMPONENT
          Specifies that external item editors should be located relative to a user specified reference component.
static TableEditorFactory.EditorLocation RELATIVE_TO_TABLE_COMPONENT
          Specifies that external item editors should be located relative to the table editor's table component.
static TableEditorFactory.EditorLocation RELATIVE_TO_WINDOW
          Specifies that external item editors should be located relative to the table editor's ancestor window.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CENTERED_ON_SCREEN

public static final TableEditorFactory.EditorLocation CENTERED_ON_SCREEN
Specifies that external item editors should be centered on the screen.

The default.


RELATIVE_TO_WINDOW

public static final TableEditorFactory.EditorLocation RELATIVE_TO_WINDOW
Specifies that external item editors should be located relative to the table editor's ancestor window.

See Also:
SwingUtilities.getWindowAncestor(java.awt.Component), Window.setLocationRelativeTo(java.awt.Component)

RELATIVE_TO_EDITOR_COMPONENT

public static final TableEditorFactory.EditorLocation RELATIVE_TO_EDITOR_COMPONENT
Specifies that external item editors should be located relative to the table editor's editor component.

See Also:
Window.setLocationRelativeTo(java.awt.Component)

RELATIVE_TO_REFERENCE_COMPONENT

public static final TableEditorFactory.EditorLocation RELATIVE_TO_REFERENCE_COMPONENT
Specifies that external item editors should be located relative to a user specified reference component. The reference component has to be specified using TableEditorFactory.ATTRIBUTE_EDITOR_LOCATION_REFERENCE_COMPONENT.

See Also:
TableEditorFactory.ATTRIBUTE_EDITOR_LOCATION_REFERENCE_COMPONENT, Window.setLocationRelativeTo(java.awt.Component)

RELATIVE_TO_TABLE_COMPONENT

public static final TableEditorFactory.EditorLocation RELATIVE_TO_TABLE_COMPONENT
Specifies that external item editors should be located relative to the table editor's table component.

See Also:
Window.setLocationRelativeTo(java.awt.Component)

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.