|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTabbedPane com.jidesoft.pane.BookmarkPane
public class BookmarkPane
BookmarkPane
is still in development mode. We used it in G8.2 TradingHierarchicalTableDemo as an
example. However it's not ready for public usage yet.
Nested Class Summary | |
---|---|
protected class |
BookmarkPane.AccessibleJTabbedPane
This class implements accessibility support for the JTabbedPane class. |
Nested classes/interfaces inherited from class javax.swing.JTabbedPane |
---|
JTabbedPane.ModelListener |
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 Vector<AbstractButton> |
_buttons
Buttons. |
Fields inherited from class javax.swing.JTabbedPane |
---|
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT |
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 javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
BookmarkPane()
Creates FloorTabbedPane with default animation settings for tab switching animation. |
Method Summary | |
---|---|
protected AbstractButton |
createButton(Action action)
Creates the button used by FloorTabbedPane. |
protected void |
customizeButton(AbstractButton button)
Customizes the button used by FloorTabbedPane. |
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this JTabbedPane. |
Vector<AbstractButton> |
getButtons()
Gets the buttons used by this TtabbedPane in a Vector. |
Icon |
getDisabledIconAt(int index)
|
int |
getDisplayedMnemonicIndexAt(int tabIndex)
|
Icon |
getIconAt(int index)
|
int |
getMnemonicAt(int tabIndex)
|
String |
getTitleAt(int index)
|
String |
getToolTipTextAt(int index)
|
void |
insertTab(String title,
Icon icon,
Component component,
String tip,
int index)
Overrides to insert a button for this new tab. |
boolean |
isEnabledAt(int index)
|
boolean |
isTabSelected(int tabIndex)
Checks if the tab is selected. |
protected void |
paintComponent(Graphics g)
|
void |
removeTabAt(int index)
Overrides to remove the button for the tab index. |
void |
setDisabledIconAt(int index,
Icon disabledIcon)
|
void |
setDisplayedMnemonicIndexAt(int tabIndex,
int mnemonicIndex)
|
void |
setEnabledAt(int index,
boolean enabled)
|
void |
setIconAt(int index,
Icon icon)
|
void |
setMnemonicAt(int tabIndex,
int mnemonic)
|
void |
setTabSelected(int tabIndex,
boolean selected)
Sets the tab selected. |
void |
setTitleAt(int index,
String title)
|
void |
setToolTipTextAt(int index,
String toolTipText)
|
void |
updateUI()
Resets the UI property to a value from the current look and feel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Vector<AbstractButton> _buttons
Constructor Detail |
---|
public BookmarkPane()
Method Detail |
---|
protected void paintComponent(Graphics g)
paintComponent
in class JComponent
public void updateUI()
updateUI
in class JTabbedPane
JComponent.updateUI()
public Vector<AbstractButton> getButtons()
public void removeTabAt(int index)
removeTabAt
in class JTabbedPane
index
- public void insertTab(String title, Icon icon, Component component, String tip, int index)
insertTab
in class JTabbedPane
title
- icon
- component
- tip
- index
- protected AbstractButton createButton(Action action)
action
-
public int getMnemonicAt(int tabIndex)
getMnemonicAt
in class JTabbedPane
public void setMnemonicAt(int tabIndex, int mnemonic)
setMnemonicAt
in class JTabbedPane
public int getDisplayedMnemonicIndexAt(int tabIndex)
getDisplayedMnemonicIndexAt
in class JTabbedPane
public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)
setDisplayedMnemonicIndexAt
in class JTabbedPane
public void setTitleAt(int index, String title)
setTitleAt
in class JTabbedPane
public String getTitleAt(int index)
getTitleAt
in class JTabbedPane
public Icon getIconAt(int index)
getIconAt
in class JTabbedPane
public void setIconAt(int index, Icon icon)
setIconAt
in class JTabbedPane
public Icon getDisabledIconAt(int index)
getDisabledIconAt
in class JTabbedPane
public void setDisabledIconAt(int index, Icon disabledIcon)
setDisabledIconAt
in class JTabbedPane
public String getToolTipTextAt(int index)
getToolTipTextAt
in class JTabbedPane
public void setToolTipTextAt(int index, String toolTipText)
setToolTipTextAt
in class JTabbedPane
public boolean isEnabledAt(int index)
isEnabledAt
in class JTabbedPane
public void setEnabledAt(int index, boolean enabled)
setEnabledAt
in class JTabbedPane
protected void customizeButton(AbstractButton button)
button
- public AccessibleContext getAccessibleContext()
getAccessibleContext
in interface Accessible
getAccessibleContext
in class JTabbedPane
public boolean isTabSelected(int tabIndex)
tabIndex
- the tab index.
public void setTabSelected(int tabIndex, boolean selected)
tabIndex
- the tab index.selected
- true or false. True to select the tab.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |