Modifier and Type | Class and Description |
---|---|
pack-priv class | |
pack-priv class |
Modifier and Type | Field and Description |
---|---|
pack-priv MetalBumps | |
private Color | |
private Color | |
pack-priv int | |
private static final Border | |
pack-priv MetalBumps | |
protected boolean | isPalette
The value |
pack-priv MetalBumps | |
protected Icon | paletteCloseIcon
The palette close icon. |
protected int | paletteTitleHeight
The height of the palette title. |
private String | selectedBackgroundKey
Key used to lookup Color from UIManager. |
private String | selectedForegroundKey
Key used to lookup Color from UIManager. |
private String | selectedShadowKey
Key used to lookup shadow color from UIManager. |
private boolean | wasClosable
Boolean indicating the state of the |
Access | Constructor and Description |
---|---|
public | MetalInternalFrameTitlePane(JInternalFrame
an instance of f)JInternalFrame Constructs a new instance of |
Modifier and Type | Method and Description |
---|---|
public void | addNotify()
Overrides javax. Notifies this component that it now has a parent component. |
protected void | addSubComponents()
Overrides javax. Override the parent's method avoid creating a menu bar. |
protected void | addSystemMenuItems(JMenu
an instance of systemMenu)JMenu Overrides javax. Override the parent's method to do nothing. |
protected void | assembleSystemMenu()
Overrides javax. Override the parent's method to do nothing. |
protected void | createButtons()
Overrides javax. Creates buttons. |
protected LayoutManager | createLayout()
Overrides javax. Returns a layout manager. |
protected PropertyChangeListener | createPropertyChangeListener()
Overrides javax. Returns an instance of |
protected void | installDefaults()
Overrides javax. Installs default properties. |
public void | paintComponent(Graphics
the g)Graphics object to protectOverrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
public void | |
public void | |
protected void | showSystemMenu()
Overrides javax. Override the parent's method to do nothing. |
protected void | uninstallDefaults()
Overrides javax. Uninstalls default properties. |
private void | updateOptionPaneState()
Updates any state dependent upon the JInternalFrame being shown in
a |
activeBumps | back to summary |
---|---|
pack-priv MetalBumps activeBumps |
activeBumpsHighlight | back to summary |
---|---|
private Color activeBumpsHighlight |
activeBumpsShadow | back to summary |
---|---|
private Color activeBumpsShadow |
buttonsWidth | back to summary |
---|---|
pack-priv int buttonsWidth |
handyEmptyBorder | back to summary |
---|---|
private static final Border handyEmptyBorder |
inactiveBumps | back to summary |
---|---|
pack-priv MetalBumps inactiveBumps |
isPalette | back to summary |
---|---|
protected boolean isPalette The value |
paletteBumps | back to summary |
---|---|
pack-priv MetalBumps paletteBumps |
paletteCloseIcon | back to summary |
---|---|
protected Icon paletteCloseIcon The palette close icon. |
paletteTitleHeight | back to summary |
---|---|
protected int paletteTitleHeight The height of the palette title. |
selectedBackgroundKey | back to summary |
---|---|
private String selectedBackgroundKey Key used to lookup Color from UIManager. If this is null,
|
selectedForegroundKey | back to summary |
---|---|
private String selectedForegroundKey Key used to lookup Color from UIManager. If this is null,
|
selectedShadowKey | back to summary |
---|---|
private String selectedShadowKey Key used to lookup shadow color from UIManager. If this is null,
|
wasClosable | back to summary |
---|---|
private boolean wasClosable Boolean indicating the state of the |
MetalInternalFrameTitlePane | back to summary |
---|---|
public MetalInternalFrameTitlePane(JInternalFrame f) Constructs a new instance of
|
addNotify | back to summary |
---|---|
public void addNotify() Overrides javax. Doc from javax. Notifies this component that it now has a parent component.
When this method is invoked, the chain of parent components is
set up with |
addSubComponents | back to summary |
---|---|
protected void addSubComponents() Overrides javax. Override the parent's method avoid creating a menu bar. Metal frames do not have system menus. |
addSystemMenuItems | back to summary |
---|---|
protected void addSystemMenuItems(JMenu systemMenu) Overrides javax. Override the parent's method to do nothing. Metal frames do not have system menus.
|
assembleSystemMenu | back to summary |
---|---|
protected void assembleSystemMenu() Overrides javax. Override the parent's method to do nothing. Metal frames do not have system menus. |
createButtons | back to summary |
---|---|
protected void createButtons() Overrides javax. Doc from javax. Creates buttons. |
createLayout | back to summary |
---|---|
protected LayoutManager createLayout() Overrides javax. Doc from javax. Returns a layout manager.
|
createPropertyChangeListener | back to summary |
---|---|
protected PropertyChangeListener createPropertyChangeListener() Overrides javax. Doc from javax. Returns an instance of
|
installDefaults | back to summary |
---|---|
protected void installDefaults() Overrides javax. Doc from javax. Installs default properties. |
paintComponent | back to summary |
---|---|
public void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in
|
paintPalette | back to summary |
---|---|
public void paintPalette(Graphics g) Paints palette.
|
setPalette | back to summary |
---|---|
public void setPalette(boolean b) If
|
showSystemMenu | back to summary |
---|---|
protected void showSystemMenu() Overrides javax. Override the parent's method to do nothing. Metal frames do not have system menus. |
uninstallDefaults | back to summary |
---|---|
protected void uninstallDefaults() Overrides javax. Doc from javax. Uninstalls default properties. |
updateOptionPaneState | back to summary |
---|---|
private void updateOptionPaneState() Updates any state dependent upon the JInternalFrame being shown in
a |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | propertyChange(PropertyChangeEvent
A PropertyChangeEvent object describing the event source
and the property that has changed. evt)Overrides javax. Implements java. This method gets called when a bound property is changed. |
MetalPropertyChangeHandler | back to summary |
---|---|
pack-priv MetalPropertyChangeHandler() |
propertyChange | back to summary |
---|---|
public void propertyChange(PropertyChangeEvent evt) Overrides javax. Implements java. Doc from java. This method gets called when a bound property is changed.
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | addLayoutComponent(String
the string to be associated with the component name, Component the component to be added c)Overrides javax. Implements java. If the layout manager uses a per-component string,
adds the component |
public void | layoutContainer(Container
the container to be laid out c)Overrides javax. Implements java. Lays out the specified container. |
public Dimension | minimumLayoutSize(Container
the component to be laid out c)Overrides javax. Implements java. Calculates the minimum size dimensions for the specified container, given the components it contains. |
public Dimension | preferredLayoutSize(Container
the container to be laid out c)Overrides javax. Implements java. Calculates the preferred size dimensions for the specified container, given the components it contains. |
public void | removeLayoutComponent(Component
the component to be removed c)Overrides javax. Implements java. Removes the specified component from the layout. |
MetalTitlePaneLayout | back to summary |
---|---|
pack-priv MetalTitlePaneLayout() |
addLayoutComponent | back to summary |
---|---|
public void addLayoutComponent(String name, Component c) Overrides javax. Implements java. Doc from java. If the layout manager uses a per-component string,
adds the component |
layoutContainer | back to summary |
---|---|
public void layoutContainer(Container c) Overrides javax. Implements java. Doc from java. Lays out the specified container.
|
minimumLayoutSize | back to summary |
---|---|
public Dimension minimumLayoutSize(Container c) Overrides javax. Implements java. Doc from java. Calculates the minimum size dimensions for the specified container, given the components it contains. |
preferredLayoutSize | back to summary |
---|---|
public Dimension preferredLayoutSize(Container c) Overrides javax. Implements java. Doc from java. Calculates the preferred size dimensions for the specified container, given the components it contains. |
removeLayoutComponent | back to summary |
---|---|
public void removeLayoutComponent(Component c) Overrides javax. Implements java. Doc from java. Removes the specified component from the layout.
|