|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.jidesoft.combobox.AbstractComboBox
com.jidesoft.combobox.InsetsComboBox
public class InsetsComboBox
InsetsComboBox is a combobox which can be used to choose a Insets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.combobox.AbstractComboBox |
|---|
_dialog, _editable, _editor, _listDataListener, _oldSelectedItemReminder, _popupButton, _popupPanel, _renderer, actionCommand, CLIENT_PROPERTY_HIDE_POPUP_ON_LIST_DATA_CHANGED, CLIENT_PROPERTY_TABLE_CELL_EDITOR, CLIENT_PROPERTY_TABLE_CELL_RENDERER, COMMIT, COMMIT_OR_RESET, COMMIT_OR_REVERT, dataModel, DIALOG, DROPDOWN, HIDE_POPUP_KEY, PERSIST, PROPERTY_SELECTED_ITEM, RESET, REVERT, selectedItemReminder |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
InsetsComboBox()
Creates a new InsetsComboBox using ColorChooserPanel with 40 colors. |
|
InsetsComboBox(Insets Insets)
Creates a new InsetsComboBox. |
|
| Method Summary | |
|---|---|
AbstractComboBox.EditorComponent |
createEditorComponent()
Subclass should implement this method to create the actual editor component. |
protected PopupPanel |
createInsetsChooserPanel(Action okAction,
Action cancelAction)
Creates an InsetsChooserPanel as the popup. |
PopupPanel |
createPopupComponent()
Creates an InsetsChooserPanel as the popup. |
Insets |
getSelectedInsets()
Gets selected Insets. |
protected boolean |
isUpdateFromPopupOnFly()
This is a flag used internally. |
void |
setSelectedInsets(Insets Insets)
Sets selected Insets. |
protected void |
updateInsetsFromEditorComponent()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InsetsComboBox()
InsetsComboBox using ColorChooserPanel with 40 colors.
public InsetsComboBox(Insets Insets)
InsetsComboBox.
Insets - the insets| Method Detail |
|---|
public AbstractComboBox.EditorComponent createEditorComponent()
AbstractComboBox
createEditorComponent in class AbstractComboBoxpublic PopupPanel createPopupComponent()
return createInsetsChooserPanel(getDefaultOKAction(), getDefaultCancelAction());
Subclass can override this method to provide your own InsetsChooserPanel.
createPopupComponent in class AbstractComboBox
protected PopupPanel createInsetsChooserPanel(Action okAction,
Action cancelAction)
return new InsetsChooserPanel(okAction, cancelAction);
Subclass can override this method to provide your own InsetsChooserPanel.
okAction - the ok actioncancelAction - the cancel action
public Insets getSelectedInsets()
protected void updateInsetsFromEditorComponent()
public void setSelectedInsets(Insets Insets)
Insets - the insetsprotected boolean isUpdateFromPopupOnFly()
AbstractComboBox
isUpdateFromPopupOnFly in class AbstractComboBox
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||