Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

com.arcle.rmt.superwaba.ui.CommandWindow Class Reference

A window with a row of command buttons at the bottom. More...

Inheritance diagram for com.arcle.rmt.superwaba.ui.CommandWindow:

com.arcle.rmt.superwaba.ui.WindowBase com.arcle.rmt.superwaba.ui.CategoryWindow List of all members.

Public Member Functions

 CommandWindow (String title, byte borderStyle)
abstract Button[] getCommandButtons ()
 Strategy Method that returns the command buttons to be placed at the bottom of the window.


Protected Member Functions

void layoutChildren ()
 Places the command buttons at the bottom of the window.

int getBottomMargin ()
 Returns the amount of vertical space, in pixels, reserved for the row of command buttons.


Private Attributes

int bottomMargin = 0
 Vertical space reserved for the command buttons.


Detailed Description

A window with a row of command buttons at the bottom.

Author:
Sasmito Adibowo

Definition at line 75 of file CommandWindow.java.


Constructor & Destructor Documentation

com.arcle.rmt.superwaba.ui.CommandWindow.CommandWindow String  title,
byte  borderStyle
 

Definition at line 76 of file CommandWindow.java.


Member Function Documentation

int com.arcle.rmt.superwaba.ui.CommandWindow.getBottomMargin  )  [protected]
 

Returns the amount of vertical space, in pixels, reserved for the row of command buttons.

Controls laid out by derived classes should not overlap this reserved region.

Definition at line 120 of file CommandWindow.java.

References com.arcle.rmt.superwaba.ui.CommandWindow.bottomMargin.

Referenced by com.arcle.rmt.superwaba.ui.CategoryWindow.switchPanel().

abstract Button [] com.arcle.rmt.superwaba.ui.CommandWindow.getCommandButtons  )  [pure virtual]
 

Strategy Method that returns the command buttons to be placed at the bottom of the window.

Implemented in com.arcle.rmt.superwaba.ui.CategoryWindow.

Referenced by com.arcle.rmt.superwaba.ui.CommandWindow.layoutChildren().

void com.arcle.rmt.superwaba.ui.CommandWindow.layoutChildren  )  [protected, virtual]
 

Places the command buttons at the bottom of the window.

Implements com.arcle.rmt.superwaba.ui.WindowBase.

Reimplemented in com.arcle.rmt.superwaba.ui.CategoryWindow.

Definition at line 95 of file CommandWindow.java.

References com.arcle.rmt.superwaba.ui.CommandWindow.bottomMargin, and com.arcle.rmt.superwaba.ui.CommandWindow.getCommandButtons().


Member Data Documentation

int com.arcle.rmt.superwaba.ui.CommandWindow.bottomMargin = 0 [private]
 

Vertical space reserved for the command buttons.

Definition at line 127 of file CommandWindow.java.

Referenced by com.arcle.rmt.superwaba.ui.CommandWindow.getBottomMargin(), and com.arcle.rmt.superwaba.ui.CommandWindow.layoutChildren().


The documentation for this class was generated from the following file:
Generated on Fri Jun 18 19:55:24 2004 for Arcle Rambutan by doxygen 1.3.5