|
|||||||||||
| 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.JPanel
|
+--com.japisoft.framework.dockable.BasicInnerWindow
This is an inner frame with a bar having a title and a set of actions. This class is rather for inner usage.
| Field Summary |
| Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, 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 | |
BasicInnerWindow(InnerWindowProperties properties)
|
|
| Method Summary | |
void |
addNotify()
|
void |
dispose()
|
void |
fireDockEvent(java.lang.String id,
int type)
|
ActionModel |
getActionModel()
|
javax.swing.JComponent |
getContentPane()
|
java.awt.Rectangle |
getFrameBounds()
If the inner window has been transformed inside a frame |
javax.swing.Icon |
getIcon()
|
java.lang.String |
getId()
|
JDock |
getJDock()
|
java.lang.String |
getTitle()
|
javax.swing.JComponent |
getUserView()
|
javax.swing.JComponent |
getView()
|
boolean |
isFixed()
|
boolean |
isMaximized()
|
void |
removeNotify()
|
void |
repaint()
Repaint the view |
void |
requestFocus()
Reset the focus |
void |
setBackground(java.awt.Color color)
Update the backgrond for this window |
void |
setContentPane(javax.swing.JComponent component)
Reset the final content |
void |
setFixed(boolean fixed)
Fixed a window, so it cannot be swapped with another window |
void |
setForeground(java.awt.Color color)
Update the foreground for this window |
void |
setFrameBounds(java.awt.Rectangle r)
Last location and size when the inner window has been transformed inside a frame |
void |
setIcon(javax.swing.Icon icon)
Reset for a new icon |
void |
setMaximized(boolean max)
Maximized state |
void |
setTitle(java.lang.String title)
Reset for a new title |
java.lang.String |
toString()
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicInnerWindow(InnerWindowProperties properties)
| Method Detail |
public void requestFocus()
com.japisoft.framework.dockable.Windowable
requestFocus in interface com.japisoft.framework.dockable.WindowablerequestFocus in class javax.swing.JComponentpublic void addNotify()
addNotify in class javax.swing.JComponentpublic java.lang.String toString()
toString in class java.awt.Componentpublic void removeNotify()
removeNotify in class javax.swing.JComponentpublic java.lang.String getTitle()
getTitle in interface com.japisoft.framework.dockable.Windowablepublic java.lang.String getId()
getId in interface com.japisoft.framework.dockable.Windowablepublic javax.swing.JComponent getUserView()
getUserView in interface com.japisoft.framework.dockable.Windowablepublic javax.swing.JComponent getView()
getView in interface com.japisoft.framework.dockable.Windowablepublic void dispose()
public void setTitle(java.lang.String title)
com.japisoft.framework.dockable.Windowable
setTitle in interface com.japisoft.framework.dockable.Windowablepublic javax.swing.Icon getIcon()
getIcon in interface com.japisoft.framework.dockable.Windowablepublic void setIcon(javax.swing.Icon icon)
com.japisoft.framework.dockable.Windowable
setIcon in interface com.japisoft.framework.dockable.Windowablepublic void setBackground(java.awt.Color color)
com.japisoft.framework.dockable.Windowable
setBackground in interface com.japisoft.framework.dockable.WindowablesetBackground in class javax.swing.JComponentpublic void setForeground(java.awt.Color color)
com.japisoft.framework.dockable.Windowable
setForeground in interface com.japisoft.framework.dockable.WindowablesetForeground in class javax.swing.JComponentpublic java.awt.Rectangle getFrameBounds()
com.japisoft.framework.dockable.Windowable
getFrameBounds in interface com.japisoft.framework.dockable.Windowablepublic void setFrameBounds(java.awt.Rectangle r)
com.japisoft.framework.dockable.Windowable
setFrameBounds in interface com.japisoft.framework.dockable.Windowablepublic javax.swing.JComponent getContentPane()
getContentPane in interface com.japisoft.framework.dockable.Windowablepublic void setContentPane(javax.swing.JComponent component)
com.japisoft.framework.dockable.Windowable
setContentPane in interface com.japisoft.framework.dockable.Windowablepublic void setFixed(boolean fixed)
com.japisoft.framework.dockable.Windowable
setFixed in interface com.japisoft.framework.dockable.Windowablepublic boolean isFixed()
isFixed in interface com.japisoft.framework.dockable.Windowabletrue if the window cannot be swapped with another windowpublic boolean isMaximized()
isMaximized in interface com.japisoft.framework.dockable.Windowablepublic void setMaximized(boolean max)
com.japisoft.framework.dockable.Windowable
setMaximized in interface com.japisoft.framework.dockable.Windowablepublic ActionModel getActionModel()
getActionModel in interface com.japisoft.framework.dockable.Windowablepublic JDock getJDock()
public void fireDockEvent(java.lang.String id,
int type)
fireDockEvent in interface com.japisoft.framework.dockable.Windowablepublic void repaint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||