Package com.ms.ui |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
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.
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.
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.
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.
public void setBreak(boolean on);Sets or clears the BREAK attribute in the control's style.
Return Value:
No return value.
Parameter Description on Set to true to set the BREAK attribute; set to false to clear this attribute.
public void setDragBreak(boolean on);Sets or clears the DRAGBREAK attribute in the control's style.
Return Value:
No return value.
Parameter Description on Set to true to set the DRAGBREAK attribute; set to false to clear this attribute.
public void setRestoredWidth(int width);Sets the width that the band control will be restored to.
Return Value:
No return value.
Parameter Description width The width (in pixels) of a restored band control.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.