PanelView.st
changeset 1159 856ac1c6046c
parent 1072 79c647d81083
child 1216 3506a6474c42
equal deleted inserted replaced
1158:225c0d52068d 1159:856ac1c6046c
   214     "redefined to recompute layout when a subview is removed"
   214     "redefined to recompute layout when a subview is removed"
   215 
   215 
   216     super removeSubView:aView.
   216     super removeSubView:aView.
   217     aView removeDependent:self.
   217     aView removeDependent:self.
   218     self layoutChanged
   218     self layoutChanged
       
   219 ! !
       
   220 
       
   221 !PanelView methodsFor:'enumerating subviews'!
       
   222 
       
   223 changeSequenceOrderFor:aSubView to:anIndex
       
   224     "change a subview's position into subviews collection
       
   225     "
       
   226     |success|
       
   227 
       
   228     success := super changeSequenceOrderFor:aSubView to:anIndex.
       
   229 
       
   230     success ifTrue:[
       
   231         self layoutChanged.
       
   232     ].
       
   233     ^ success
   219 ! !
   234 ! !
   220 
   235 
   221 !PanelView methodsFor:'event processing'!
   236 !PanelView methodsFor:'event processing'!
   222 
   237 
   223 sizeChanged:how
   238 sizeChanged:how
   364 ! !
   379 ! !
   365 
   380 
   366 !PanelView class methodsFor:'documentation'!
   381 !PanelView class methodsFor:'documentation'!
   367 
   382 
   368 version
   383 version
   369     ^ '$Header: /cvs/stx/stx/libwidg/PanelView.st,v 1.22 1997-02-27 18:17:41 ca Exp $'
   384     ^ '$Header: /cvs/stx/stx/libwidg/PanelView.st,v 1.23 1997-03-28 14:52:00 ca Exp $'
   370 ! !
   385 ! !