|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cbse.jeasy.JEObject
de.cbse.jeasy.JEComponent
de.cbse.jeasy.JEParentComponent
de.cbse.jeasy.JETabbedPane
public class JETabbedPane
Implements a JTabbedPane.
See a demonstration in the program JEasyExample tab "GridBagLayout".
Properties :
| Field Summary | |
|---|---|
(package private) java.util.HashMap |
hmTab
|
| Fields inherited from class de.cbse.jeasy.JEComponent |
|---|
animated, backup, buttonBehind, caretPosition, component, endMarkPosition, enterPressed, isPressed, jeButtonBehind, label, labelBehind, labelText, parentId, scrollPane, tree, treeNode, window |
| Constructor Summary | |
|---|---|
JETabbedPane(JELocaleProperties hm)
Reads the properties from a HashMap |
|
JETabbedPane(JENode jen)
Constructor based on a XML file parsed to a TreeNode. |
|
| Method Summary | |
|---|---|
javax.swing.JTabbedPane |
getJTabbedPane()
Gets the swing JTabbedPane |
java.lang.String |
getSelectedId()
Gets the jeasy id out of the property vector elements with the same index as the selectedIndex of the JTabbedPane. |
JEObject |
getSelectedObject()
Gets the jeasy object out of the property vector elements with the same index as the selectedIndex of the JTabbedPane. |
void |
init()
Creates jfc-Objects with the given properties. |
void |
removeTab(java.lang.String jeasyId)
Removes the tab where the given JEasy object was added |
void |
setSelectedObject(java.lang.String jeasyId)
Select the jeasy panel which is element of the tabbdPane |
void |
setupComponent()
Set the property values to the component |
void |
setVisible(java.lang.String jeasyId,
boolean b)
Set the visibility of a panel within a tabbedpane |
void |
show()
Makes the tabbedPane visible. |
void |
show(java.lang.String id)
Select the panel of the given id. |
| Methods inherited from class de.cbse.jeasy.JEParentComponent |
|---|
addElement, backupEntry, clear, cloneAll, getChilds, getLayoutManager, invokeAll, invokeAll, invokeAll, invokeAll, invokeAll, removeAll, removeId, restoreEntry, setEnabledAll, setEnabledAll, setVisibleAll, setVisibleAll, wasEntryChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.HashMap hmTab
| Constructor Detail |
|---|
public JETabbedPane(JELocaleProperties hm)
hm - HashMappublic JETabbedPane(JENode jen)
jen - JESaxParser| Method Detail |
|---|
public void init()
init in class JEParentComponentpublic void setupComponent()
JEParentComponent
setupComponent in class JEParentComponentpublic void show()
public void show(java.lang.String id)
show in class JEObjectpublic void removeTab(java.lang.String jeasyId)
n -
public void setVisible(java.lang.String jeasyId,
boolean b)
jeasyId - the jeasy-Id of the panelb - true if the panel should be visible, falsepublic javax.swing.JTabbedPane getJTabbedPane()
public void setSelectedObject(java.lang.String jeasyId)
jeasyId - public JEObject getSelectedObject()
public java.lang.String getSelectedId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||