qx.ui.resizer
Class MResizable

java.lang.Object
  extended by qx.ui.resizer.MResizable

public class MResizable
extends java.lang.Object

Provides resizing behavior to any widget. The widget that includes this mixin, must implement the IResizable interface.


Constructor Summary
MResizable()
           
MResizable(java.lang.Object child)
           
 
Method Summary
 void _applyResizable(boolean value, boolean old)
          Applies changes of the property value of the property resizableEast.
 java.lang.Object _near(java.lang.Object p, Event e)
           
 void _onmousedown(Event e)
           
 void _onmousemove(Event e)
           
 void _onmouseup(Event e)
           
 boolean getResizable()
          Adjust so that it returns a boolean instead of an array.
 boolean getResizableEast()
          Returns the (computed) value of the property resizableEast.
 boolean getResizableNorth()
          Returns the (computed) value of the property resizableNorth.
 boolean getResizableSouth()
          Returns the (computed) value of the property resizableSouth.
 boolean getResizableWest()
          Returns the (computed) value of the property resizableWest.
 java.lang.Object getResizeMethod()
          Returns the (computed) value of the property resizeMethod.
 void initResizableEast(boolean arg)
          Calls the apply method and dispatches the change event of the property resizableEast with the default value defined by the class developer.
 void initResizableNorth(boolean arg)
          Calls the apply method and dispatches the change event of the property resizableNorth with the default value defined by the class developer.
 void initResizableSouth(boolean arg)
          Calls the apply method and dispatches the change event of the property resizableSouth with the default value defined by the class developer.
 void initResizableWest(boolean arg)
          Calls the apply method and dispatches the change event of the property resizableWest with the default value defined by the class developer.
 void initResizeMethod(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property resizeMethod with the default value defined by the class developer.
 boolean isResizable()
          Adjust so that it returns a boolean instead of an array.
 boolean isResizableEast()
          Check whether the (computed) value of the boolean property resizableEast equals true.
 boolean isResizableNorth()
          Check whether the (computed) value of the boolean property resizableNorth equals true.
 boolean isResizableSouth()
          Check whether the (computed) value of the boolean property resizableSouth equals true.
 boolean isResizableWest()
          Check whether the (computed) value of the boolean property resizableWest equals true.
 void resetResizable()
          Resets the user value of the property resizable.
 void resetResizableEast()
          Resets the user value of the property resizableEast.
 void resetResizableNorth()
          Resets the user value of the property resizableNorth.
 void resetResizableSouth()
          Resets the user value of the property resizableSouth.
 void resetResizableWest()
          Resets the user value of the property resizableWest.
 void resetResizeMethod()
          Resets the user value of the property resizeMethod.
 void setResizable(java.lang.Object resizableNorth, java.lang.Object resizableEast, java.lang.Object resizableSouth, java.lang.Object resizableWest)
          Sets the values of the property group resizable.
 void setResizableEast(boolean arg)
          Sets the user value of the property resizableEast.
 void setResizableNorth(boolean arg)
          Sets the user value of the property resizableNorth.
 void setResizableSouth(boolean arg)
          Sets the user value of the property resizableSouth.
 void setResizableWest(boolean arg)
          Sets the user value of the property resizableWest.
 void setResizeMethod(java.lang.Object arg)
          Sets the user value of the property resizeMethod.
 boolean toggleResizableEast()
          Toggles the (computed) value of the boolean property resizableEast.
 boolean toggleResizableNorth()
          Toggles the (computed) value of the boolean property resizableNorth.
 boolean toggleResizableSouth()
          Toggles the (computed) value of the boolean property resizableSouth.
 boolean toggleResizableWest()
          Toggles the (computed) value of the boolean property resizableWest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MResizable

public MResizable()

MResizable

public MResizable(java.lang.Object child)
Method Detail

_applyResizable

public void _applyResizable(boolean value,
                            boolean old)

Applies changes of the property value of the property resizableEast.

For further details take a look at the property definition: _applyResizable(boolean, boolean).


_near

public java.lang.Object _near(java.lang.Object p,
                              Event e)

_onmousedown

public void _onmousedown(Event e)

_onmousemove

public void _onmousemove(Event e)

_onmouseup

public void _onmouseup(Event e)

getResizable

public boolean getResizable()

Adjust so that it returns a boolean instead of an array. Wrapper around isResizable. Please use isResizable instead.


getResizableEast

public boolean getResizableEast()

Returns the (computed) value of the property resizableEast.

For further details take a look at the property definition: resizableEast.


getResizableNorth

public boolean getResizableNorth()

Returns the (computed) value of the property resizableNorth.

For further details take a look at the property definition: resizableNorth.


getResizableSouth

public boolean getResizableSouth()

Returns the (computed) value of the property resizableSouth.

For further details take a look at the property definition: resizableSouth.


getResizableWest

public boolean getResizableWest()

Returns the (computed) value of the property resizableWest.

For further details take a look at the property definition: resizableWest.


getResizeMethod

public java.lang.Object getResizeMethod()

Returns the (computed) value of the property resizeMethod.

For further details take a look at the property definition: resizeMethod.


initResizableEast

public void initResizableEast(boolean arg)

Calls the apply method and dispatches the change event of the property resizableEast with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: resizableEast.


initResizableNorth

public void initResizableNorth(boolean arg)

Calls the apply method and dispatches the change event of the property resizableNorth with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: resizableNorth.


initResizableSouth

public void initResizableSouth(boolean arg)

Calls the apply method and dispatches the change event of the property resizableSouth with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: resizableSouth.


initResizableWest

public void initResizableWest(boolean arg)

Calls the apply method and dispatches the change event of the property resizableWest with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: resizableWest.


initResizeMethod

public void initResizeMethod(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property resizeMethod with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: resizeMethod.


isResizable

public boolean isResizable()

Adjust so that it returns a boolean instead of an array.


isResizableEast

public boolean isResizableEast()

Check whether the (computed) value of the boolean property resizableEast equals true.

For further details take a look at the property definition: resizableEast.


isResizableNorth

public boolean isResizableNorth()

Check whether the (computed) value of the boolean property resizableNorth equals true.

For further details take a look at the property definition: resizableNorth.


isResizableSouth

public boolean isResizableSouth()

Check whether the (computed) value of the boolean property resizableSouth equals true.

For further details take a look at the property definition: resizableSouth.


isResizableWest

public boolean isResizableWest()

Check whether the (computed) value of the boolean property resizableWest equals true.

For further details take a look at the property definition: resizableWest.


resetResizable

public void resetResizable()

Resets the user value of the property resizable.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizable.


resetResizableEast

public void resetResizableEast()

Resets the user value of the property resizableEast.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizableEast.


resetResizableNorth

public void resetResizableNorth()

Resets the user value of the property resizableNorth.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizableNorth.


resetResizableSouth

public void resetResizableSouth()

Resets the user value of the property resizableSouth.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizableSouth.


resetResizableWest

public void resetResizableWest()

Resets the user value of the property resizableWest.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizableWest.


resetResizeMethod

public void resetResizeMethod()

Resets the user value of the property resizeMethod.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: resizeMethod.


setResizable

public void setResizable(java.lang.Object resizableNorth,
                         java.lang.Object resizableEast,
                         java.lang.Object resizableSouth,
                         java.lang.Object resizableWest)

Sets the values of the property group resizable.

This setter supports a shorthand mode compatible with the way margins and paddins are set in CSS.

For further details take a look at the property definition: resizable.


setResizableEast

public void setResizableEast(boolean arg)

Sets the user value of the property resizableEast.

For further details take a look at the property definition: resizableEast.


setResizableNorth

public void setResizableNorth(boolean arg)

Sets the user value of the property resizableNorth.

For further details take a look at the property definition: resizableNorth.


setResizableSouth

public void setResizableSouth(boolean arg)

Sets the user value of the property resizableSouth.

For further details take a look at the property definition: resizableSouth.


setResizableWest

public void setResizableWest(boolean arg)

Sets the user value of the property resizableWest.

For further details take a look at the property definition: resizableWest.


setResizeMethod

public void setResizeMethod(java.lang.Object arg)

Sets the user value of the property resizeMethod.

For further details take a look at the property definition: resizeMethod.


toggleResizableEast

public boolean toggleResizableEast()

Toggles the (computed) value of the boolean property resizableEast.

For further details take a look at the property definition: resizableEast.


toggleResizableNorth

public boolean toggleResizableNorth()

Toggles the (computed) value of the boolean property resizableNorth.

For further details take a look at the property definition: resizableNorth.


toggleResizableSouth

public boolean toggleResizableSouth()

Toggles the (computed) value of the boolean property resizableSouth.

For further details take a look at the property definition: resizableSouth.


toggleResizableWest

public boolean toggleResizableWest()

Toggles the (computed) value of the boolean property resizableWest.

For further details take a look at the property definition: resizableWest.



Copyright © 2008 1&1. All Rights Reserved.