Squeak Class Documentation category index | class index  
 
StandardSystemController
  category: ST80-Support
  superclass: MouseMenuController
  subclasses: ProjectController DeferredActionStandardSystemController

I am a controller for StandardSystemViews, that is, those views that are at the top level of a project in the system user interface. I am a kind of MouseMenuController that creates a blue button menu for moving, framing, collapsing, and closing ScheduledViews, and for selecting views under the view of my instance.

instance methods
  basic control sequence
  controlInitialize
controlTerminate

  borders
  adjustPaneBorders
adjustWindowBorders
adjustWindowCorners
checkForReframe
cursorOnBorder
fullScreen

  control defaults
  blueButtonActivity
controlActivity
isControlActive
redButtonActivity

  cursor
  labelHasCursor

  initialize-release
  initialize

  menu messages
  chooseColor
close
collapse
expand
forceClosed
label
move
reframe
toggleTwoTone
under

  pluggable menus
  getPluggableYellowButtonMenu:

  scheduling
  closeAndUnschedule
closeAndUnscheduleNoErase
closeAndUnscheduleNoTerminate
open
openDisplayAt:
openNoTerminate
openNoTerminateDisplayAt:
status:

class methods
  class initialization
  initialize

instance methods
  basic control sequence top  
 

controlInitialize

Sent by Controller|startUp as part of the standard control sequence, it
provides a place in the standard control sequence for initializing the
receiver (taking into account the current state of its model and view). It
should be redefined in subclasses to perform some specific action.


 

controlTerminate

Provide a place in the standard control sequence for terminating the
receiver (taking into account the current state of its model and view). It
should be redefined in subclasses to perform some specific action.


  borders top  
 

adjustPaneBorders


 

adjustWindowBorders


 

adjustWindowCorners


 

checkForReframe


 

cursorOnBorder


 

fullScreen

Make the receiver's window occupy jes' about the full screen. 6/10/96 sw


  control defaults top  
 

blueButtonActivity

This normally opens the window menu. It is a no-op here
as only the StandardSystemController deals with that kind
of menus.


 

controlActivity

Refer to the comment in Controller|controlActivity.


 

isControlActive

In contrast to class Controller, only blue button but not yellow button
events will end the receiver's control loop.


 

redButtonActivity

If cursor is in label of a window when red button is pushed,
check for closeBox or growBox, else drag the window frame
or edit the label.


  cursor top  
 

labelHasCursor

Answer true if the cursor is within the window's label


  initialize-release top  
 

initialize

Initialize the state of the receiver. Subclasses should include 'super
initialize' when redefining this message to insure proper initialization.


  menu messages top  
 

chooseColor

Allow the user to specify a new background color for the receiver's window. 5/6/96 sw.
7/31/96 sw: use Color fromUser


 

close

The receiver's view should be removed from the screen and from the
collection of scheduled views.


 

collapse

Get the receiver's view to change to a collapsed view on the screen.


 

expand

The receiver's view was collapsed; open it again and ask the user to
designate its rectangular area.


 

forceClosed

The receiver's view should be removed from the screen and from the
collection of scheduled views.


 

label


 

move

Ask the user to designate a new origin position for the receiver's view.
6/10/96 sw: tell the view that it has moved


 

reframe


 

toggleTwoTone


 

under

Deactive the receiver's scheduled view and pass control to any view that
might be positioned directly underneath it and the cursor.


  pluggable menus top  
 

getPluggableYellowButtonMenu:


  scheduling top  
 

closeAndUnschedule

Erase the receiver's view and remove it from the collection of scheduled
views.


 

closeAndUnscheduleNoErase

Remove the scheduled view from the collection of scheduled views. Set
its status to closed but do not erase.


 

closeAndUnscheduleNoTerminate

Erase the receiver's view and remove it from the collection of scheduled views, but do not terminate the current process.


 

open

Create an area on the screen in which the receiver's scheduled view can
be displayed. Make it the active view.


 

openDisplayAt:

Create an area with origin aPoint in which the receiver's scheduled
view can be displayed. Make it the active view.


 

openNoTerminate

Create an area in which the receiver's scheduled view can be displayed.
Make it the active view. Do not terminate the currently active process.


 

openNoTerminateDisplayAt:

Create an area with origin aPoint in which the receiver's scheduled
view can be displayed. Make it the active view. Do not terminate the
currently active process.


 

status:


class methods
  class initialization top  
 

initialize

StandardSystemController initialize