org.noos.xing.mydoggy
Interface DesktopContentUI

All Superinterfaces:
ContentUI, DockableUI, Observable

public interface DesktopContentUI
extends ContentUI

This interface let you modify ui behaviours of a content when a DesktopContentManagerUI is used as current ContentManagerUI.

Since:
1.1.0
Author:
Angelo De Caro (angelo.decaro@gmail.com)
See Also:
DesktopContentManagerUI

Method Summary
 Point getLocation()
          Gets the location of the content frame in the form of a point specifying the component's top-left corner.
 Dimension getSize()
          Returns the size of the content frame in the form of a Dimension object.
 boolean isIconified()
          Returns whether the DesktopContentUI is currently iconified.
 void setIconified(boolean iconified)
          Iconifies or de-iconifies this content frame,
 void setLocation(int x, int y)
          Sets the content frame location.
 void setSize(int width, int height)
          Sets the content frame size.
 
Methods inherited from interface org.noos.xing.mydoggy.ContentUI
getContent, getDetachedBounds, getTransparentDelay, getTransparentRatio, isAddToTaskBarWhenDetached, isAlwaysOnTop, isCloseable, isDetachable, isMaximizable, isMinimizable, isTransparentMode, setAddToTaskBarWhenDetached, setAlwaysOnTop, setCloseable, setConstraints, setDetachable, setDetachedBounds, setMaximizable, setMinimizable, setTransparentDelay, setTransparentMode, setTransparentRatio
 
Methods inherited from interface org.noos.xing.mydoggy.Observable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 

Method Detail

setLocation

void setLocation(int x,
                 int y)
Sets the content frame location. The top-left corner of the new location is specified by the x and y parameters in the system coordinate space.

Parameters:
x - the x-coordinate of the new location's top-left corner in the system's coordinate space
y - the y-coordinate of the new location's top-left corner in the system's coordinate space
Since:
1.1.0
See Also:
getLocation()

getLocation

Point getLocation()
Gets the location of the content frame in the form of a point specifying the component's top-left corner. The location will be relative to the system coordinate space.

Returns:
an instance of Point representing the top-left corner of the component's bounds in the system coordinate space.
Since:
1.1.0
See Also:
setLocation(int, int)

setSize

void setSize(int width,
             int height)
Sets the content frame size.

Parameters:
width - the new width of this component in pixels
height - the new height of this component in pixels
Since:
1.1.0
See Also:
getSize()

getSize

Dimension getSize()
Returns the size of the content frame in the form of a Dimension object. The height field of the Dimension object contains this content frame's height, and the width field of the Dimension object contains this content frame's width.

Returns:
a Dimension object that indicates the size of this content frame.
Since:
1.1.0
See Also:
setSize(int, int)

isIconified

boolean isIconified()
Returns whether the DesktopContentUI is currently iconified.

Returns:
true if this content frame is iconified
Since:
1.1.0
See Also:
setIconified(boolean)

setIconified

void setIconified(boolean iconified)
Iconifies or de-iconifies this content frame,

Parameters:
iconified - a boolean, where true means to iconify this content frame and false means to de-iconify it.
Since:
1.1.0
See Also:
isIconified()


Copyright © 2012. All Rights Reserved.