Squeak Class Documentation category index | class index  
 
IRCMorph
  category: Network-IRC Chat
  superclass: SystemWindow
  subclasses:

A Morph for interfacing with IRC.

instance methods
  access
  consoleText
fullName
fullName:
nick
nick:
portAsString
portAsString:
server
server:
userName
userName:

  console
  addToConsole:
consoleSelection
consoleTextSelection

  initialization
  initialize

  interface
  addCustomMenuItems:hand:
connect
delete
ircMessageRecieved:
makeConnection
openChannel:
openChannelList
openConnection
openMotd
release
sendCommand:

  stepping
  step
stepTime
wantsSteps
wantsStepsWhenCollapsed

class methods
  initialization
  initialize

  misc
  hasPrototype

instance methods
  access top  
 

consoleText


 

fullName


 

fullName:


 

nick


 

nick:


 

portAsString


 

portAsString:


 

server


 

server:


 

userName


 

userName:


  console top  
 

addToConsole:


 

consoleSelection


 

consoleTextSelection


  initialization top  
 

initialize

Initialize a system window. Add label, stripes, etc., if desired


  interface top  
 

addCustomMenuItems:hand:

Add morph-specific items to the given menu which was invoked by the given hand. This method provides is invoked both from the halo-menu and from the control-menu regimes.


 

connect


 

delete

Remove the receiver as a submorph of its owner and make its new owner be nil.


 

ircMessageRecieved:


 

makeConnection


 

openChannel:

open a window for interacting with the given channel


 

openChannelList

open a view on the list of channels


 

openConnection

open a dialogue for making new connections


 

openMotd


 

release

Remove references to objects that may refer to the receiver. This message
should be overridden by subclasses with any cycles, in which case the
subclass should also include the expression super release.


 

sendCommand:


  stepping top  
 

step

Do some periodic activity. Use startStepping/stopStepping to start and stop getting sent this message. The time between steps is specified by this morph's answer to the stepTime message. The generic version dispatches control to the player, if any. The nasty circumlocation about owner's transformation is necessitated by the flexing problem that the player remains in the properties dictionary both of the flex and the real morph. In the current architecture, only the top renderer's pointer to the player should actually be honored for the purpose of firing.


 

stepTime

Answer the desired time between steps in milliseconds. This default implementation requests that the 'step' method be called once every second.


 

wantsSteps

Return true if the model wants its view to be stepped. For an open system window, we give the model to offer an opinion


 

wantsStepsWhenCollapsed

ProcessIO regardless of whether collapsed.


class methods
  initialization top  
 

initialize

set all the defaults to something reasonable


  misc top  
 

hasPrototype

it's not needed here....