|
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
javax.swing.JPanel
com.jidesoft.swing.LabeledTextField
com.jidesoft.paging.PageNavigationField
public class PageNavigationField
A LabeledTextField that is used to navigation pages or records.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jidesoft.swing.LabeledTextField |
|---|
LabeledTextField.PopupMenuCustomizer |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| 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 | |
|---|---|
protected ChangeEvent |
changeEvent
|
static int |
TYPE_PAGE
|
static int |
TYPE_RECORD
|
| Fields inherited from class com.jidesoft.swing.LabeledTextField |
|---|
_button, _contextMenuKeyStroke, _customizer, _hintLabel, _hintText, _icon, _label, _labelText, _showHintTextWhenFocused, _textField |
| 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 | |
|---|---|
PageNavigationField()
|
|
PageNavigationField(int allowedType)
|
|
PageNavigationField(int allowedType,
int type)
|
|
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Adds a ChangeListener to the model. |
protected void |
customizePopupMenu(JPopupMenu menu)
Customizes the popup menu. |
protected void |
fireStateChanged()
Runs each ChangeListener's stateChanged method. |
int |
getAllowedType()
Gets the allowed shortcut type. |
ChangeListener[] |
getChangeListeners()
Returns an array of all the ChangeListeners added to this DefaultColorSelectionModel
with addChangeListener. |
int |
getType()
Gets the navigation type. |
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener from the model. |
void |
setAllowedType(int allowedType)
Sets the allowed navigation type. |
void |
setType(int type)
Sets the navigation type. |
| Methods inherited from class com.jidesoft.swing.LabeledTextField |
|---|
calculateContextMenuLocation, createButton, createContextMenu, createLabel, createTextField, getBaseline, getButton, getContextMenuKeyStroke, getHintText, getIcon, getLabel, getLabelText, getPopupMenuCustomizer, getText, getTextField, initComponent, initLayout, isShowHintTextWhenFocused, setColumns, setContextMenuKeyStroke, setEnabled, setHintText, setIcon, setLabelText, setPopupMenuCustomizer, setShowHintTextWhenFocused, setText, showContextMenu, updateUI |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_PAGE
public static final int TYPE_RECORD
protected transient ChangeEvent changeEvent
| Constructor Detail |
|---|
public PageNavigationField()
public PageNavigationField(int allowedType)
public PageNavigationField(int allowedType,
int type)
| Method Detail |
|---|
public int getType()
public void setType(int type)
TYPE_PAGE and TYPE_RECORD.
type - the navigation typepublic int getAllowedType()
public void setAllowedType(int allowedType)
allowedType - the allowed shortcut type.protected void customizePopupMenu(JPopupMenu menu)
LabeledTextField
customizePopupMenu in class LabeledTextFieldmenu - the menu to customizepublic void addChangeListener(ChangeListener l)
ChangeListener to the model.
l - the ChangeListener to be addedpublic void removeChangeListener(ChangeListener l)
ChangeListener from the model.
l - the ChangeListener to be removedpublic ChangeListener[] getChangeListeners()
ChangeListeners added to this DefaultColorSelectionModel
with addChangeListener.
ChangeListeners added, or an empty array if no listeners have been addedprotected void fireStateChanged()
ChangeListener's stateChanged method.
EventListenerList
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||