PreferenceBrowser

PBBooleanPreferenceView
I am responsible for building the visual representation of a preference that accepts true and false values. This view is aimed to be used inside a PreferenceBrowser panel.
enabledButton
Answer a checkbox for the enablement state.
initialize
Subclasses should redefine this method to perform initializations on instance creation
localToProjectButton
Answer a checkbox for the local enablement state.
representativeButtonWithColor:inPanel:
unload
PBColorPreferenceView
A PBColorPreferenceView is xxxxxxxxx.
Instance Variables
colorSwatch
initialize
Subclasses should redefine this method to perform initializations on instance creation
representativeButtonWithColor:inPanel:
unload
PBHaloThemePreferenceView
I am responsible for building the button for the Halo Theme preference
haloThemeRadioButtons
Answer a column of butons representing the choices of halo theme
initialize
Subclasses should redefine this method to perform initializations on instance creation
representativeButtonWithColor:inPanel:
unload
PBNumericPreferenceView
A PBNumericPreferenceView is xxxxxxxxx.
Instance Variables
initialize
Subclasses should redefine this method to perform initializations on instance creation
preferenceValue
preferenceValue:
representativeButtonWithColor:inPanel:
textField
Answer a text field for the preference.
unload
PBPreferenceButtonMorph
A PBPreferenceButtonMorph is xxxxxxxxx.
Instance Variables
model: <Object>
moreButton: <Object>
preference: <Object>
preferenceMorphicView: <Object>
preferenceView: <Object>
model
- xxxxx
moreButton
- xxxxx
preference
- xxxxx
preferenceMorphicView
- xxxxx
preferenceView
- xxxxx
actionButtons
addExtraControls
advancedOptionsSelected
basicButton
basicPanel
blankSpaceOf:
caseInsensitiveBeginsWith:in:
highlightOff
highlightOn
horizontalFiller
horizontalPanel
initializeLayout
initializeWithPreference:model:
label
model
moreButton
paneColor
Answer the window's pane color or our color otherwise.
preference
preference:
preference:model:
preferenceHelp
preferenceHelpText
preferenceHelpTextMorph
preferenceMorphicView
preferenceView
removeExtraControls
verticalPanel
PBPreferenceView
I am just a refactor of all the common method of the PreferenceBrowser preference views
actions
addActionTitled:target:selector:arguments:balloonText:
basicPanel
blankSpaceOf:
handlesPanel:
horizontalFiller
horizontalPanel
offerPreferenceNameMenu:
the user clicked on a preference name -- put up a menu
verticalPanel
PBTextPreferenceView
A PBTextPreferenceView is xxxxxxxxx.
Instance Variables
initialize
Subclasses should redefine this method to perform initializations on instance creation
preferenceValue
preferenceValue:
representativeButtonWithColor:inPanel:
textField
Answer a text field for the preference.
unload
PBWindowColorPreferenceView
A PBWindowColorPreferenceView is xxxxxxxxx.
Instance Variables
initialize
Subclasses should redefine this method to perform initializations on instance creation
unload
viewRegistry
PreferenceBrowser
A PreferenceBrowser is xxxxxxxxx.
Instance Variables
lastExecutedSearch: <Object>
preferences: <Object>
searchPattern: <Object>
searchResults: <Object>
selectedCategoryIndex: <Object>
selectedPreference: <Object>
title: <Object>
lastExecutedSearch
- xxxxx
preferences
- xxxxx
searchPattern
- xxxxx
searchResults
- xxxxx
selectedCategoryIndex
- xxxxx
selectedPreference
- xxxxx
title
- xxxxx
allCategoryLabel
allCategorySelected
allPreferences
categoryList
defaultSelected
findCategoryFromPreference:
Find all categories in which the preference occurs
helpSelected
Open up a workspace with explanatory info in it about the Preference Browser
helpText
initialExtent
Made a bit wider to line up prefs nicely.
initialize
Subclasses should redefine this method to perform initializations on instance creation
initializeForServices
lastExecutedSearch
lastExecutedSearch:
loadFromDiskSelected
loadSelected
nonSpecialCategorySelected
open
openForServices
preferences
preferencesInCategory:
prototypicalToolWindow
registerInFlaps
registerInOpenMenu
registerWindowColor
saveSelected
saveToDiskSelected
searchFieldLegend
searchPattern
searchPattern:
searchPreferencesFor:
searchResults
searchResultsCategoryLabel
searchResultsCategorySelected
searchSelected
selectFirstPreferenceOrNil
selectSearchResultsCategory
selectedCategory
selectedCategory:
selectedCategoryIndex
selectedCategoryIndex:
selectedCategoryPreferences
selectedPreference
selectedPreference:
selectedPreferenceHelpText
selectedPreferenceIndex
selectedPreferenceIndex:
stepAt:in:
themeSelected
unload
unregisterFromFlaps
unregisterFromOpenMenu
wantsStepsIn:
windowColorSpecification
windowTitle
PreferenceBrowserMorph
A PreferenceBrowserMorph is xxxxxxxxx.
Instance Variables
defaultButton: <Object>
helpButton: <Object>
highlightedPreferenceButton: <Object>
lastKeystrokeTime: <Object>
lastKeystrokes: <Object>
loadButton: <Object>
loadFromDiskButton: <Object>
mainPanel: <Object>
preferenceList: <Object>
saveButton: <Object>
saveToDiskButton: <Object>
themeButton: <Object>
defaultButton
- xxxxx
helpButton
- xxxxx
highlightedPreferenceButton
- xxxxx
lastKeystrokeTime
- xxxxx
lastKeystrokes
- xxxxx
loadButton
- xxxxx
loadFromDiskButton
- xxxxx
mainPanel
- xxxxx
preferenceList
- xxxxx
saveButton
- xxxxx
saveToDiskButton
- xxxxx
themeButton
- xxxxx
adjustPreferenceListItemsWidth
basicButton
Answer an initialised button for use in the button row.
basicKeyPressed:
buttonRowLayoutFrame
defaultButton
downKeyPressed:
endKeyPressed:
extent:
Set the receiver's extent to value provided. Respect my minimumExtent.
helpButton
Answer a button whose action would be to put up help concerning the receiver
homeKeyPressed:
initializeWithModel:
Initialize the receiver based on the given model.
keyPressed:
loadButton
loadFromDiskButton
mainPanel
mouseDownOn:event:
newButtonRow
Answer a new button row.
newCategoryList
newCategoryListPanel
Answer a groupbox for the categories list.
newCategoryListPanelLabel
newPreferenceButtonFor:
newPreferenceListInnerPanel
newPreferenceListPanel
Answer a groupbox for the preferences list.
newPreferenceListPanelLabel
newSearchButton
newSearchPanel
Answer the panel for searching of preferences.
newSearchTextField
Answer a new text entry for searching of preferences.
newSeparator
Answer a new separator for the button row.
newTransparentFiller
pageDownKeyPressed:
pageUpKeyPressed:
preferenceList
Changed to take mouseClickForKeyboardFocus preference into account.
preferenceListInnerPanel
preferencesShowing
rootPanel
Answer a new root panel for the main contents of the browser.
rootPanelLayoutFrame
saveButton
saveToDiskButton
selectedCategory
selectedCategoryIndex
selectedCategoryIndex:
selectedCategoryPreferences
selectedPreference
selectedPreference:
selectedPreferenceButton
selectedPreferenceIndex
selectedPreferenceIndex:
themeButton
Modified to make clear what the button actually does with respect to Polymorph.
turnOffSelectedPreference
turnOnSelectedPreference
upKeyPressed:
update:
Receive a change notice from an object of whom the receiver is a
dependent. The default behavior is to do nothing; a subclass might want
to change itself in some way.
updateBrowsers
updateSelectedCategoryPreferences
updateSelectedPreference
withModel:
UpdatingRectangleMorph
Intended for use as a color swatch coupled to a color obtained from the target, but made just slightly more general than that.
contents
contents:
defaultBorderColor
answer the default border color/fill style for the receiver
getSelector
Answer the getSelector
getSelector:
handlesMouseDown:
Do I want to receive mouseDown events (mouseDown:, mouseMove:, mouseUp:)?
mouseUp:
Handle a mouse up event. The default response is to let my eventHandler, if any, handle it.
putSelector
putSelector:
readFromTarget
Read the color value from my target
setTargetColor:
Set my target's color as indicated
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.
target
target:
Morphs with targets will override. This backstop does nothing.
userEditsAllowed
Answer whether it is suitable for a user to change the value represented by this readout
valueProvider
Answer the object to which my get/set messages should be sent. This is inefficient and contorted in order to support grandfathered content for an earlier design
veryDeepFixupWith:
If target and arguments fields were weakly copied, fix them here. If they were in the tree being copied, fix them up, otherwise point to the originals!!
veryDeepInner:
Copy all of my instance variables. Some need to be not copied at all, but shared. Warning!! Every instance variable defined in this class must be handled. We must also implement veryDeepFixupWith:. See DeepCopier class comment.