Liking cljdoc? Tell your friends :D

javax.swing.DefaultDesktopManager

This is an implementation of the DesktopManager. It currently implements the basic behaviors for managing JInternalFrames in an arbitrary parent. JInternalFrames that are not children of a JDesktop will use this component to handle their desktop-like actions. This class provides a policy for the various JInternalFrame methods, it is not meant to be called directly rather the various JInternalFrame methods will call into the DesktopManager.

This is an implementation of the DesktopManager.
It currently implements the basic behaviors for managing
JInternalFrames in an arbitrary parent.
JInternalFrames that are not children of a
JDesktop will use this component
to handle their desktop-like actions.
This class provides a policy for the various JInternalFrame methods,
it is not meant to be called directly rather the various JInternalFrame
methods will call into the DesktopManager.
raw docstring

->default-desktop-managerclj

(->default-desktop-manager)

Constructor.

Constructor.
raw docstring

activate-frameclj

(activate-frame this f)

This will activate f moving it to the front. It will set the current active frame's (if any) IS_SELECTED_PROPERTY to false. There can be only one active frame across all Layers.

f - the JInternalFrame to be activated - javax.swing.JInternalFrame

This will activate f moving it to the front. It will
 set the current active frame's (if any)
 IS_SELECTED_PROPERTY to false.
 There can be only one active frame across all Layers.

f - the JInternalFrame to be activated - `javax.swing.JInternalFrame`
raw docstring

begin-dragging-frameclj

(begin-dragging-frame this f)

Description copied from interface: DesktopManager

f - javax.swing.JComponent

Description copied from interface: DesktopManager

f - `javax.swing.JComponent`
raw docstring

begin-resizing-frameclj

(begin-resizing-frame this f direction)

Description copied from interface: DesktopManager

f - javax.swing.JComponent direction - int

Description copied from interface: DesktopManager

f - `javax.swing.JComponent`
direction - `int`
raw docstring

close-frameclj

(close-frame this f)

Removes the frame, and, if necessary, the desktopIcon, from its parent.

f - the JInternalFrame to be removed - javax.swing.JInternalFrame

Removes the frame, and, if necessary, the
 desktopIcon, from its parent.

f - the JInternalFrame to be removed - `javax.swing.JInternalFrame`
raw docstring

deactivate-frameclj

(deactivate-frame this f)

Description copied from interface: DesktopManager

f - javax.swing.JInternalFrame

Description copied from interface: DesktopManager

f - `javax.swing.JInternalFrame`
raw docstring

deiconify-frameclj

(deiconify-frame this f)

Removes the desktopIcon from its parent and adds its frame to the parent.

f - the JInternalFrame to be de-iconified - javax.swing.JInternalFrame

Removes the desktopIcon from its parent and adds its frame
 to the parent.

f - the JInternalFrame to be de-iconified - `javax.swing.JInternalFrame`
raw docstring

drag-frameclj

(drag-frame this f new-x new-y)

Moves the visible location of the frame being dragged to the location specified. The means by which this occurs can vary depending on the dragging algorithm being used. The actual logical location of the frame might not change until endDraggingFrame is called.

f - javax.swing.JComponent new-x - int new-y - int

Moves the visible location of the frame being dragged
 to the location specified.  The means by which this occurs can vary depending
 on the dragging algorithm being used.  The actual logical location of the frame
 might not change until endDraggingFrame is called.

f - `javax.swing.JComponent`
new-x - `int`
new-y - `int`
raw docstring

end-dragging-frameclj

(end-dragging-frame this f)

Description copied from interface: DesktopManager

f - javax.swing.JComponent

Description copied from interface: DesktopManager

f - `javax.swing.JComponent`
raw docstring

end-resizing-frameclj

(end-resizing-frame this f)

Description copied from interface: DesktopManager

f - javax.swing.JComponent

Description copied from interface: DesktopManager

f - `javax.swing.JComponent`
raw docstring

iconify-frameclj

(iconify-frame this f)

Removes the frame from its parent and adds its desktopIcon to the parent.

f - the JInternalFrame to be iconified - javax.swing.JInternalFrame

Removes the frame from its parent and adds its
 desktopIcon to the parent.

f - the JInternalFrame to be iconified - `javax.swing.JInternalFrame`
raw docstring

maximize-frameclj

(maximize-frame this f)

Resizes the frame to fill its parents bounds.

f - the frame to be resized - javax.swing.JInternalFrame

Resizes the frame to fill its parents bounds.

f - the frame to be resized - `javax.swing.JInternalFrame`
raw docstring

minimize-frameclj

(minimize-frame this f)

Restores the frame back to its size and position prior to a maximizeFrame call.

f - the JInternalFrame to be restored - javax.swing.JInternalFrame

Restores the frame back to its size and position prior
 to a maximizeFrame call.

f - the JInternalFrame to be restored - `javax.swing.JInternalFrame`
raw docstring

open-frameclj

(open-frame this f)

Normally this method will not be called. If it is, it try to determine the appropriate parent from the desktopIcon of the frame. Will remove the desktopIcon from its parent if it successfully adds the frame.

f - javax.swing.JInternalFrame

Normally this method will not be called. If it is, it
 try to determine the appropriate parent from the desktopIcon of the frame.
 Will remove the desktopIcon from its parent if it successfully adds the frame.

f - `javax.swing.JInternalFrame`
raw docstring

resize-frameclj

(resize-frame this f new-x new-y new-width new-height)

Calls setBoundsForFrame with the new values.

f - the component to be resized - javax.swing.JComponent new-x - the new x-coordinate - int new-y - the new y-coordinate - int new-width - the new width - int new-height - the new height - int

Calls setBoundsForFrame with the new values.

f - the component to be resized - `javax.swing.JComponent`
new-x - the new x-coordinate - `int`
new-y - the new y-coordinate - `int`
new-width - the new width - `int`
new-height - the new height - `int`
raw docstring

set-bounds-for-frameclj

(set-bounds-for-frame this f new-x new-y new-width new-height)

This moves the JComponent and repaints the damaged areas.

f - javax.swing.JComponent new-x - int new-y - int new-width - int new-height - int

This moves the JComponent and repaints the damaged areas.

f - `javax.swing.JComponent`
new-x - `int`
new-y - `int`
new-width - `int`
new-height - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close