ftp.nice.ch/Attic/openStep/developer/resources/MiscKit.2.0.5.s.gnutar.gz#/MiscKit2/Palettes/MiscSwitchViewPalette/MiscSwitchViewInspector.rtf

This is MiscSwitchViewInspector.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1996, All Rights Reserved.  

pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 fs28 fs16 
fs28 
fs16 
fs28 pard s5 li2116 fi0 ri1007 ql f0 b fs56 MiscSwitchViewInspector 
fs16 





fs56 pard s17 li4888 fi-2771 ri1007 ql tx4888 f1 b0 fs28 fs16 fs28 f0 b fs28 Inherits From:	b0 fs28 f1 IBInspector
fs16 s10 fs16 fs28 f0 b fs28 Declared In:	b0 fs28 f1 MiscSwitchViewInspector.h
fs16 
fs28 pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Class Description
fs16  pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs28 fs16 fs28 The MiscSwitchViewInspector implements the InterfaceBuilder inspector for the MiscSwitchView class.  The methods in this class apply immediately to the inspected MiscSwitchView instance, so the inspector buttons (OK and Revert) aren't displayed.
fs28s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Instance Variables
fs16  pard s18 li2116 fi0 ri1007 ql tx2872 f1 b0 fs28 #ifdef IB_OUTLETS id b currentViewTFb0 ;
id b viewCountTFb0 ;
#endif @private NSTextField* b _currentViewTFb0 ;
NSTextField* b _viewCountTFb0 ;
pard s11 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 


fs28 currentViewTF 	Bogus outlet for IB.
fs16 
fs28 viewCountTF 	Bogus outlet for IB.
fs16 
fs28 _currentViewTF 	Indicates the currently displayed view index.
fs16 
fs28 _viewCountTF 	Indicates the number of subviews managed by the MiscSwitchView.
pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Method Types
fs16  f1 b0 fs28 s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16  fs28 Accessor methods 	{f3 -} setCurrentViewTF:
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 {f3 -} currentViewTF
{f3 -} setViewCountTF:
{f3 -} viewCountTF
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 Derived accessors 	{f3 -} switchView
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 Initialization / deallocation 	{f3 -} init
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 {f3 -} dealloc
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 Adding and deleting subviews 	{f3 -} addView:
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 {f3 -} insertView:
{f3 -} deleteView:
{f3 -} setCurrentView:
{f3 -} nextView:
{f3 -} previousView:
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 IBInspector methods 	{f3 -} revert:
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 {f3 -} wantsButtons
pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Instance Methods
fs16  fs36 s21 li2493 fi-1132 fi-376 fs28 fs16 fs29 b addView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  addView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Adds an empty view to the end of the receiver's subview list. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b currentViewTF
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (NSTextField*)b  currentViewTFb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns the current view text field. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b dealloc
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  deallocb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Standard deallocator. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b deleteView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  deleteView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Deletes the view at the index specified in the current view text field. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b init
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (id)b  initb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Extends the superclass method to load the the inspector nib file.  Returns b selfb0  if successful, b nilb0  otherwise. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b insertView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  insertView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Inserts an empty view at the index specified in the current view text field. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b nextView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  nextView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Displays the view after the currently visible view, or the first view if the last view is currently visible. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b previousView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  previousView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Displays the view before the currently visible view, or the last view if the first view is currently visible. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b revert:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  revert:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Updates the inspector with the attributes of the currently inspected switch view. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b setCurrentView:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  setCurrentView:b0 (id)i senderi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Displays the view at the index specified in the current view text field. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b setCurrentViewTF:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  setCurrentViewTF:b0 (NSTextField*)i currentViewTFi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Sets the current view text field to i currentViewTFi0 . 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b setViewCountTF:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  setViewCountTF:b0 (NSTextField*)i viewCountTFi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Sets the view count text field to i viewCountTFi0 . 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b switchView
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (MiscSwitchView*)b  switchViewb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns the switch view inspected by the receiver. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b viewCountTF
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (NSTextField*)b  viewCountTFb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns the view count text field. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b wantsButtons
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (BOOL)b  wantsButtonsb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 The inspector controls take effect immediately, so the OK and Revert buttons aren't needed. 
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.