|
Dresden OCL Toolkit | |||||||||
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
tudresden.ocl.injection.reverseeng.propertypages.PropertyPageContainer
A container for property pages.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected EventListenerList |
m_ellListeners
The listeners registered to receive events from this container. |
protected boolean |
m_fPropertiesAvailable
True, if property pages other than m_ppNoProperties are
being displayed. |
private JTabbedPane |
m_jtpPropertyPages
|
protected List |
m_lppPropertyPages
List of property pages currently displayed. |
protected PropertyPage |
m_ppNoProperties
Property page displayed, when no properties are available. |
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
PropertyPageContainer()
Create new PropertyPageContainer |
Method Summary | |
void |
addPropertyPage(PropertyPage pp)
|
void |
addPropertyPageContainerListener(PropertyPageContainerListener ppcl)
Start notifying the specified listener of events regarding this property page container. |
protected void |
firePropertyPageAdded(PropertyPage pp)
|
protected void |
firePropertyPageRemoved(PropertyPage pp)
|
private void |
initComponents()
This method is called from within the constructor to initialize the form. |
void |
onComponentChanged(PropertyPageEvent ppe)
Invoked when the component that represents a property page has changed. |
void |
onEnabledChanged(PropertyPageEvent ppe)
Invoked when the enabled state of a property page has changed. |
void |
onIconChanged(PropertyPageEvent ppe)
Invoked when the icon of a property page changes. |
void |
onTitleChanged(PropertyPageEvent ppe)
Invoked when the title of a property page changes. |
void |
onToolTipChanged(PropertyPageEvent ppe)
Invoked when the tool tip associated with a property page changes. |
void |
removeAllPropertyPages()
Removes all property pages and sets m_ppNoProperties . |
void |
removePropertyPage(PropertyPage pp)
|
void |
removePropertyPageContainerListener(PropertyPageContainerListener ppcl)
Stop notifying the specified listener of events regarding this property page container. |
void |
replacePropertyPages(List lppNewPageSet)
Replace the complete set of property pages with the specified set. |
void |
replacePropertyPages(PropertyPage[] appNewPageSet)
Replace the complete set of property pages with the specified set. |
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 PropertyPage m_ppNoProperties
protected List m_lppPropertyPages
protected boolean m_fPropertiesAvailable
m_ppNoProperties
are
being displayed.
protected EventListenerList m_ellListeners
private JTabbedPane m_jtpPropertyPages
Constructor Detail |
public PropertyPageContainer()
Method Detail |
private void initComponents()
public void removeAllPropertyPages()
m_ppNoProperties
.
public void removePropertyPage(PropertyPage pp)
public void addPropertyPage(PropertyPage pp)
public void replacePropertyPages(PropertyPage[] appNewPageSet)
This method attempts to maintain the selected page.
appNewPageSet
- the set of pages to be displayedpublic void replacePropertyPages(List lppNewPageSet)
This method attempts to maintain the selected page.
lppNewPageSet
- the set of pages to be displayedpublic void onIconChanged(PropertyPageEvent ppe)
onIconChanged
in interface PropertyPageListener
ppe
- EventObject
describing the PropertyPage
that changed.public void onTitleChanged(PropertyPageEvent ppe)
onTitleChanged
in interface PropertyPageListener
ppe
- EventObject
describing the PropertyPage
that changed.public void onToolTipChanged(PropertyPageEvent ppe)
onToolTipChanged
in interface PropertyPageListener
ppe
- EventObject
describing the PropertyPage
that changed.public void onComponentChanged(PropertyPageEvent ppe)
This event will not be invoked, when merely the data displayed in the component or subcomponents of it have changed.
onComponentChanged
in interface PropertyPageListener
ppe
- EventObject
describing the PropertyPage
that changed.public void onEnabledChanged(PropertyPageEvent ppe)
onEnabledChanged
in interface PropertyPageListener
ppe
- EventObject
describing the PropertyPage
that changed.public void addPropertyPageContainerListener(PropertyPageContainerListener ppcl)
ppcl
- the listener to be notified of events.public void removePropertyPageContainerListener(PropertyPageContainerListener ppcl)
ppcl
- the listener to be notified of events.protected void firePropertyPageAdded(PropertyPage pp)
protected void firePropertyPageRemoved(PropertyPage pp)
|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |