|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<WabitSwingSessionContextImpl.SourceListStyle>
ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl.SourceListStyle
public static enum WabitSwingSessionContextImpl.SourceListStyle
All the ways the source list can be present in the GUI.
| Enum Constant Summary | |
|---|---|
DOCKED
Source list appears in a split pane to the right of the editor. |
|
FLOATING
Source list appears in its own dialog. |
|
HIDDEN
Source list is not visible at all. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedName()
Returns the localized text associated with this source list style. |
javax.swing.JMenuItem |
makeMenuItem(WabitSwingSessionContextImpl context,
javax.swing.ButtonGroup sourceListStyleGroup)
Creates a JMenuItem for this source list style. |
protected void |
safelySetRightComponent(javax.swing.JSplitPane sp,
javax.swing.JToolBar toolBar,
javax.swing.JComponent c)
Changes the right-hand component of the given scroll panel to c without moving the divider location. |
static WabitSwingSessionContextImpl.SourceListStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WabitSwingSessionContextImpl.SourceListStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final WabitSwingSessionContextImpl.SourceListStyle DOCKED
public static final WabitSwingSessionContextImpl.SourceListStyle FLOATING
public static final WabitSwingSessionContextImpl.SourceListStyle HIDDEN
| Method Detail |
|---|
public static WabitSwingSessionContextImpl.SourceListStyle[] values()
for (WabitSwingSessionContextImpl.SourceListStyle c : WabitSwingSessionContextImpl.SourceListStyle.values()) System.out.println(c);
public static WabitSwingSessionContextImpl.SourceListStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public javax.swing.JMenuItem makeMenuItem(WabitSwingSessionContextImpl context,
javax.swing.ButtonGroup sourceListStyleGroup)
context - The session context the menu item belongs to (and operates
upon).sourceListStyleGroup - The button group to add the menu item to (for mutual
exclusion).
public java.lang.String getLocalizedName()
protected void safelySetRightComponent(@Nonnull
javax.swing.JSplitPane sp,
@Nullable
javax.swing.JToolBar toolBar,
@Nonnull
javax.swing.JComponent c)
c without moving the divider location.
sp - The split pane whose right component to replace with c.
Null not permitted.toolBar - The toolbar that should appear at the top of the
right-hand component. Null means not to show a toolbar.c - The component to add to sp. Null not permitted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||