|
||||||||||
| 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
org.openide.windows.TopComponent
star.coremodule.ui.output.ui.AbstractOutputWindow
public abstract class AbstractOutputWindow
A panel which, if more than one AbstractOutputTab is added to it, instead adds additional views to an internal tabbed pane.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.windows.TopComponent |
|---|
org.openide.windows.TopComponent.Cloneable, org.openide.windows.TopComponent.NodeName, org.openide.windows.TopComponent.Registry |
| 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.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected JTabbedPane |
pane
|
| Fields inherited from class org.openide.windows.TopComponent |
|---|
CLOSE_EACH, CLOSE_LAST, PERSISTENCE_ALWAYS, PERSISTENCE_NEVER, PERSISTENCE_ONLY_OPENED |
| 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 | |
|---|---|
AbstractOutputWindow()
Creates a new instance of AbstractOutputWindow |
|
| Method Summary | |
|---|---|
protected void |
addImpl(Component c,
Object constraints,
int idx)
|
protected abstract void |
closeRequest(AbstractOutputTab tab)
|
void |
doLayout()
|
protected void |
fire(AbstractOutputTab formerSelection)
|
org.openide.util.Lookup |
getLookup()
|
AbstractOutputTab |
getSelectedTab()
|
AbstractOutputTab[] |
getTabs()
|
void |
paint(Graphics g)
Overridden to fill in the background color, since Synth/GTKLookAndFeel ignores setOpaque(true). |
void |
propertyChange(PropertyChangeEvent pce)
|
void |
remove(Component c)
|
protected abstract void |
removed(AbstractOutputTab view)
|
void |
requestActive()
|
protected abstract void |
selectionChanged(AbstractOutputTab former,
AbstractOutputTab current)
|
void |
setSelectedTab(AbstractOutputTab op)
|
void |
setTabTitle(AbstractOutputTab tab,
String name)
|
void |
stateChanged(ChangeEvent e)
|
protected abstract void |
updateSingletonName(String name)
Updates the component name to include the name of a tab. |
| Methods inherited from class org.openide.windows.TopComponent |
|---|
associateLookup, availableModes, cancelRequestAttention, canClose, canClose, close, close, closeNotify, componentActivated, componentClosed, componentDeactivated, componentHidden, componentOpened, componentShowing, getAccessibleContext, getActions, getActivatedNodes, getCloseOperation, getDisplayName, getHelpCtx, getHtmlDisplayName, getIcon, getPersistenceType, getRegistry, getSystemActions, getUndoRedo, isOpened, isOpened, open, open, openNotify, preferredID, processKeyBinding, readExternal, requestAttention, requestFocus, requestFocusInWindow, requestVisible, setActivatedNodes, setCloseOperation, setDisplayName, setHtmlDisplayName, setIcon, setName, setToolTipText, toFront, writeExternal, writeReplace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected JTabbedPane pane
| Constructor Detail |
|---|
public AbstractOutputWindow()
| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent pce)
propertyChange in interface PropertyChangeListenerprotected abstract void closeRequest(AbstractOutputTab tab)
protected abstract void removed(AbstractOutputTab view)
protected void addImpl(Component c,
Object constraints,
int idx)
addImpl in class Containerpublic final AbstractOutputTab[] getTabs()
public void remove(Component c)
remove in class Containerpublic final AbstractOutputTab getSelectedTab()
public void setSelectedTab(AbstractOutputTab op)
public void setTabTitle(AbstractOutputTab tab,
String name)
public void requestActive()
requestActive in class org.openide.windows.TopComponentprotected abstract void updateSingletonName(String name)
name - A name for the tabpublic void doLayout()
doLayout in class Containerprotected void fire(AbstractOutputTab formerSelection)
public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListener
protected abstract void selectionChanged(AbstractOutputTab former,
AbstractOutputTab current)
public void paint(Graphics g)
paint in class JComponenthttp://www.netbeans.org/issues/show_bug.cgi?id=43024public org.openide.util.Lookup getLookup()
getLookup in interface org.openide.util.Lookup.ProvidergetLookup in class org.openide.windows.TopComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||