|
||||||||||
| 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
adams.gui.core.BasePanel
adams.gui.tools.spreadsheetviewer.SortDefinitionPanel
public class SortDefinitionPanel
Represents a single sorting definition.
| Nested Class Summary |
|---|
| 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 JButton |
m_ButtonRemove
the remove button. |
protected JComboBox |
m_ComboBoxNames
the combobox with column names. |
protected JComboBox |
m_ComboBoxSorting
the type of sorting. |
protected SortPanel |
m_Owner
the owning sort panel. |
| 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 | |
|---|---|
SortDefinitionPanel(SortPanel owner)
Initializes the definition panel. |
|
| Method Summary | |
|---|---|
String |
getColumnName()
Returns the selected column name. |
SortPanel |
getOwner()
Returns the owning panel. |
protected void |
initGUI()
Initializes the widgets. |
boolean |
isAscending()
Returns whether ascending or descending is used. |
protected void |
removeDefinition()
Removes itself from the list of sorting panels. |
protected void |
setupModified()
Sends an event that the setup was modified. |
String |
toString()
Returns a short description of the current setup. |
void |
update()
Resets the comboboxes. |
| Methods inherited from class adams.gui.core.BasePanel |
|---|
afterHide, afterShow, beforeHide, beforeShow, closeParent, finishInit, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, initialize, main, setParentTitle, setVisible |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SortPanel m_Owner
protected JComboBox m_ComboBoxNames
protected JComboBox m_ComboBoxSorting
protected JButton m_ButtonRemove
| Constructor Detail |
|---|
public SortDefinitionPanel(SortPanel owner)
owner - the owning sort panel| Method Detail |
|---|
protected void initGUI()
initGUI in class BasePanelpublic SortPanel getOwner()
public String getColumnName()
public boolean isAscending()
protected void removeDefinition()
public void update()
protected void setupModified()
public String toString()
toString in class Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||