com.tapina.robe.swi.wimp
Class WindowBlock

java.lang.Object
  extended bycom.tapina.robe.swi.wimp.WindowBlock

public class WindowBlock
extends java.lang.Object

This class holds a RISC OS Wimp window block. A window block is the definition of a window, either created or not.


Field Summary
static int ADJUST_SIZE
          Window flags constant
static int BACK_ICON
          Window flags constant
static int BACKGROUND_WINDOW
          Window flags constant
static int BOTTOM
          Special constant for handleOfWindowAbove
static int CLOSE_ICON
          Window flags constant
static int FORCE_3D_BORDER
          Window extra flags constant
static int FORCE_TO_SCREEN
          Window flags constant
static int FOREGROUND_WINDOW
          Window flags constant
static int FULL_SIZE
          Window flags constant
static int FULLY_VISIBLE
          Window flags constant
static int FURNITURE_WINDOW
          Window flags constant
static int GCOL_COLOURS
          Window flags constant
static int HAS_INPUT_FOCUS
          Window flags constant
static int HORIZONTAL_SCROLL_BAR
          Window flags constant
static int ICONISED
          Special constant for handleOfWindowAbove
static int KEEP_ON_SCREEN
          Window flags constant
static int MOVEABLE
          Window flags constant
static int NEW_FORMAT
          Window flags constant
static int NO_3D_BORDER
          Window extra flags constant
static int NO_FRAME
          Special constant for titleForegroundColour
static int NO_RESIZE_DOWN
          Window flags constant
static int NO_RESIZE_RIGHT
          Window flags constant
static int NO_USER_REDRAW
          Window flags constant
static int NO_WIMP_CLEAR
          Special constant for workAreaBackgroundColour
static int OLD_HORIZONTAL_SCROLL_BAR
          Window flags constant
static int OLD_NO_CLOSE
          Window flags constant
static int OLD_TITLE_BAR
          Window flags constant
static int OLD_VERTICAL_SCROLL_BAR
          Window flags constant
static int OPEN
          Window flags constant
static int OPEN_WINDOW_REQUEST
          Window flags constant
static int PANE
          Window flags constant
static int SCROLL_REQUEST_AUTO
          Window flags constant
static int SCROLL_REQUEST_NON_AUTO
          Window flags constant
static int TITLE_BAR
          Window flags constant
static int TOGGLE_METHOD
          Window flags constant
static int TOGGLE_SIZE
          Window flags constant
static int TOP
          Special constant for handleOfWindowAbove
static int TRAP_KEYPRESSES
          Window flags constant
static int UNBOUNDED_MOVE
          Window flags constant
static int USE_24_BIT_COLOUR
          Window extra flags constant
static int VERTICAL_SCROLL_BAR
          Window flags constant
 
Constructor Summary
WindowBlock()
           
 
Method Summary
 void addIcon(Icon icon)
           
 int getActiveTitleBackgroundColour()
           
 int getHandleOfWindowAbove()
           
 Icon getIcon(int index)
           
 java.awt.Dimension getMinimumSize()
           
 int getNumberOfIcons()
           
 int getScrollBarInnerColour()
           
 int getScrollBarOuterColour()
           
 java.awt.Point getScrollOffset()
           
 SpriteArea getSpriteArea()
           
 int getTitleBackgroundColour()
           
 int getTitleBarIconFlags()
           
 int getTitleForegroundColour()
           
 int getTitleIndirectAddress()
           
 java.lang.String getTitleText()
           
 java.awt.Rectangle getVisibleArea()
           
 int getWindowExtraFlags()
           
 int getWindowFlags()
           
 java.awt.Rectangle getWorkArea()
           
 int getWorkAreaBackgroundColour()
           
 int getWorkAreaButtonFlags()
           
 int getWorkAreaForegroundColour()
           
 java.util.Iterator icons()
           
 void removeIcon(int index)
           
 void setActiveTitleBackgroundColour(int activeTitleBackgroundColour)
           
 void setHandleOfWindowAbove(int handleOfWindowAbove)
           
 void setMinimumSize(java.awt.Dimension minimumSize)
           
 void setScrollBarInnerColour(int scrollBarInnerColour)
           
 void setScrollBarOuterColour(int scrollBarOuterColour)
           
 void setScrollOffset(java.awt.Point scrollOffset)
           
 void setSpriteArea(SpriteArea spriteArea)
           
 void setTitleBackgroundColour(int titleBackgroundColour)
           
 void setTitleBarIconFlags(int titleBarIconFlags)
           
 void setTitleForegroundColour(int titleForegroundColour)
           
 void setTitleIndirectAddress(int titleIndirectAddress)
           
 void setTitleText(java.lang.String titleText)
           
 void setVisibleArea(java.awt.Rectangle visibleArea)
           
 void setWindowExtraFlags(int windowExtraFlags)
           
 void setWindowFlags(int windowFlags)
           
 void setWorkArea(java.awt.Rectangle workArea)
           
 void setWorkAreaBackgroundColour(int workAreaBackgroundColour)
           
 void setWorkAreaButtonFlags(int workAreaButtonFlags)
           
 void setWorkAreaForegroundColour(int workAreaForegroundColour)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOP

public static final int TOP
Special constant for handleOfWindowAbove

See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
Special constant for handleOfWindowAbove

See Also:
Constant Field Values

ICONISED

public static final int ICONISED
Special constant for handleOfWindowAbove

See Also:
Constant Field Values

OLD_TITLE_BAR

public static final int OLD_TITLE_BAR
Window flags constant

See Also:
Constant Field Values

MOVEABLE

public static final int MOVEABLE
Window flags constant

See Also:
Constant Field Values

OLD_VERTICAL_SCROLL_BAR

public static final int OLD_VERTICAL_SCROLL_BAR
Window flags constant

See Also:
Constant Field Values

OLD_HORIZONTAL_SCROLL_BAR

public static final int OLD_HORIZONTAL_SCROLL_BAR
Window flags constant

See Also:
Constant Field Values

NO_USER_REDRAW

public static final int NO_USER_REDRAW
Window flags constant

See Also:
Constant Field Values

PANE

public static final int PANE
Window flags constant

See Also:
Constant Field Values

UNBOUNDED_MOVE

public static final int UNBOUNDED_MOVE
Window flags constant

See Also:
Constant Field Values

OLD_NO_CLOSE

public static final int OLD_NO_CLOSE
Window flags constant

See Also:
Constant Field Values

SCROLL_REQUEST_AUTO

public static final int SCROLL_REQUEST_AUTO
Window flags constant

See Also:
Constant Field Values

SCROLL_REQUEST_NON_AUTO

public static final int SCROLL_REQUEST_NON_AUTO
Window flags constant

See Also:
Constant Field Values

GCOL_COLOURS

public static final int GCOL_COLOURS
Window flags constant

See Also:
Constant Field Values

BACKGROUND_WINDOW

public static final int BACKGROUND_WINDOW
Window flags constant

See Also:
Constant Field Values

TRAP_KEYPRESSES

public static final int TRAP_KEYPRESSES
Window flags constant

See Also:
Constant Field Values

KEEP_ON_SCREEN

public static final int KEEP_ON_SCREEN
Window flags constant

See Also:
Constant Field Values

NO_RESIZE_RIGHT

public static final int NO_RESIZE_RIGHT
Window flags constant

See Also:
Constant Field Values

NO_RESIZE_DOWN

public static final int NO_RESIZE_DOWN
Window flags constant

See Also:
Constant Field Values

OPEN

public static final int OPEN
Window flags constant

See Also:
Constant Field Values

FULLY_VISIBLE

public static final int FULLY_VISIBLE
Window flags constant

See Also:
Constant Field Values

FULL_SIZE

public static final int FULL_SIZE
Window flags constant

See Also:
Constant Field Values

OPEN_WINDOW_REQUEST

public static final int OPEN_WINDOW_REQUEST
Window flags constant

See Also:
Constant Field Values

HAS_INPUT_FOCUS

public static final int HAS_INPUT_FOCUS
Window flags constant

See Also:
Constant Field Values

FORCE_TO_SCREEN

public static final int FORCE_TO_SCREEN
Window flags constant

See Also:
Constant Field Values

TOGGLE_METHOD

public static final int TOGGLE_METHOD
Window flags constant

See Also:
Constant Field Values

FURNITURE_WINDOW

public static final int FURNITURE_WINDOW
Window flags constant

See Also:
Constant Field Values

FOREGROUND_WINDOW

public static final int FOREGROUND_WINDOW
Window flags constant

See Also:
Constant Field Values

BACK_ICON

public static final int BACK_ICON
Window flags constant

See Also:
Constant Field Values

CLOSE_ICON

public static final int CLOSE_ICON
Window flags constant

See Also:
Constant Field Values

TITLE_BAR

public static final int TITLE_BAR
Window flags constant

See Also:
Constant Field Values

TOGGLE_SIZE

public static final int TOGGLE_SIZE
Window flags constant

See Also:
Constant Field Values

VERTICAL_SCROLL_BAR

public static final int VERTICAL_SCROLL_BAR
Window flags constant

See Also:
Constant Field Values

ADJUST_SIZE

public static final int ADJUST_SIZE
Window flags constant

See Also:
Constant Field Values

HORIZONTAL_SCROLL_BAR

public static final int HORIZONTAL_SCROLL_BAR
Window flags constant

See Also:
Constant Field Values

NEW_FORMAT

public static final int NEW_FORMAT
Window flags constant

See Also:
Constant Field Values

NO_FRAME

public static final int NO_FRAME
Special constant for titleForegroundColour

See Also:
Constant Field Values

NO_WIMP_CLEAR

public static final int NO_WIMP_CLEAR
Special constant for workAreaBackgroundColour

See Also:
Constant Field Values

USE_24_BIT_COLOUR

public static final int USE_24_BIT_COLOUR
Window extra flags constant

See Also:
Constant Field Values

NO_3D_BORDER

public static final int NO_3D_BORDER
Window extra flags constant

See Also:
Constant Field Values

FORCE_3D_BORDER

public static final int FORCE_3D_BORDER
Window extra flags constant

See Also:
Constant Field Values
Constructor Detail

WindowBlock

public WindowBlock()
Method Detail

getTitleText

public java.lang.String getTitleText()

setTitleText

public void setTitleText(java.lang.String titleText)

getTitleIndirectAddress

public int getTitleIndirectAddress()

setTitleIndirectAddress

public void setTitleIndirectAddress(int titleIndirectAddress)

getVisibleArea

public java.awt.Rectangle getVisibleArea()

setVisibleArea

public void setVisibleArea(java.awt.Rectangle visibleArea)

getWorkArea

public java.awt.Rectangle getWorkArea()

setWorkArea

public void setWorkArea(java.awt.Rectangle workArea)

getScrollOffset

public java.awt.Point getScrollOffset()

setScrollOffset

public void setScrollOffset(java.awt.Point scrollOffset)

getHandleOfWindowAbove

public int getHandleOfWindowAbove()

setHandleOfWindowAbove

public void setHandleOfWindowAbove(int handleOfWindowAbove)

getWindowFlags

public int getWindowFlags()

setWindowFlags

public void setWindowFlags(int windowFlags)

getWindowExtraFlags

public int getWindowExtraFlags()

setWindowExtraFlags

public void setWindowExtraFlags(int windowExtraFlags)

getTitleForegroundColour

public int getTitleForegroundColour()

setTitleForegroundColour

public void setTitleForegroundColour(int titleForegroundColour)

getTitleBackgroundColour

public int getTitleBackgroundColour()

setTitleBackgroundColour

public void setTitleBackgroundColour(int titleBackgroundColour)

getWorkAreaForegroundColour

public int getWorkAreaForegroundColour()

setWorkAreaForegroundColour

public void setWorkAreaForegroundColour(int workAreaForegroundColour)

getWorkAreaBackgroundColour

public int getWorkAreaBackgroundColour()

setWorkAreaBackgroundColour

public void setWorkAreaBackgroundColour(int workAreaBackgroundColour)

getScrollBarOuterColour

public int getScrollBarOuterColour()

setScrollBarOuterColour

public void setScrollBarOuterColour(int scrollBarOuterColour)

getScrollBarInnerColour

public int getScrollBarInnerColour()

setScrollBarInnerColour

public void setScrollBarInnerColour(int scrollBarInnerColour)

getActiveTitleBackgroundColour

public int getActiveTitleBackgroundColour()

setActiveTitleBackgroundColour

public void setActiveTitleBackgroundColour(int activeTitleBackgroundColour)

getTitleBarIconFlags

public int getTitleBarIconFlags()

setTitleBarIconFlags

public void setTitleBarIconFlags(int titleBarIconFlags)

getWorkAreaButtonFlags

public int getWorkAreaButtonFlags()

setWorkAreaButtonFlags

public void setWorkAreaButtonFlags(int workAreaButtonFlags)

getSpriteArea

public SpriteArea getSpriteArea()

setSpriteArea

public void setSpriteArea(SpriteArea spriteArea)

getMinimumSize

public java.awt.Dimension getMinimumSize()

setMinimumSize

public void setMinimumSize(java.awt.Dimension minimumSize)

addIcon

public void addIcon(Icon icon)

removeIcon

public void removeIcon(int index)

getIcon

public Icon getIcon(int index)

getNumberOfIcons

public int getNumberOfIcons()

icons

public java.util.Iterator icons()


Copyright © 2003-2005 . All Rights Reserved.