Package com.ms.ui Previous
Previous
Contents
Contents
Index
Index
Next
Next

Interface IUIBand

Methods

public interface IUIBand
{
  // Methods
  public boolean getBreak();
  public boolean getDragBreak();
  public int getRestoredWidth();

  public void setBreak(boolean on);
  public void setDragBreak(boolean on);
  public void setRestoredWidth(int width);

}

Defines an interface for classes that can be band objects.


Methods


getBreak

public boolean getBreak();

Determines if the BREAK attribute is set in the control's style.

Return Value:

Returns true if the style includes BREAK; otherwise, returns false.


getDragBreak

public boolean getDragBreak();

Determines if the DRAGBREAK attribute is set in the control's style.

Return Value:

Returns true if the style includes DRAGBREAK; otherwise, returns false.


getRestoredWidth

public int getRestoredWidth();

Retrieves the width that the band control will be restored to.

Return Value:

Returns the width (in pixels) of the restored band control.


setBreak

public void setBreak(boolean on);

Sets or clears the BREAK attribute in the control's style.

Return Value:

No return value.

ParameterDescription
on Set to true to set the BREAK attribute; set to false to clear this attribute.


setDragBreak

public void setDragBreak(boolean on);

Sets or clears the DRAGBREAK attribute in the control's style.

Return Value:

No return value.

ParameterDescription
on Set to true to set the DRAGBREAK attribute; set to false to clear this attribute.


setRestoredWidth

public void setRestoredWidth(int width);

Sets the width that the band control will be restored to.

Return Value:

No return value.

ParameterDescription
width The width (in pixels) of a restored band control.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.