Polymorph-Widgets

AColorSelectorMorph
ColorComponentSelector showing an alpha gradient over a hatched background.
color:
Set the gradient colors.
defaultFillStyle
Answer the hue gradient.
drawOn:
Draw a hatch pattern first.
fillStyle:
If it is a color then override with gradient.
hatchForm
Answer a form showing a grid hatch pattern.
initialize
Initialize the receiver.
AboutDialogWindow
Default superclass for application about dialogs.
newButtons
Answer new buttons as appropriate.
AbstractFontSelectorDialogWindow
Dialog based font chooser with preview.
defaultFontFamilies
Answer the set of available fonts families that are supported in the font that they represent.
defaultPreviewText
Answer the default text to use for the preview of the font.
familyName
Answer the selected family name or nil if none.
fontFamilies
Answer the set of available fonts families that are supported as Text objects
in the font that they represent.
fontFamilies:
Set the value of fontFamilies
fontFamilyIndex
Answer the value of fontFamilyIndex
fontFamilyIndex:
Set the value of fontFamilyIndex
fontSize
Answer the selected font size or nil if none.
fontSizeIndex
Answer the value of fontSizeIndex
fontSizeIndex:
Set the value of fontSizeIndex
fontSizes
Answer the set of available fonts sizes that are supported.
initialize
Initialize the receiver.
isBold
Answer the value of isBold
isBold:
Set the value of isBold
isFreeTypeInstalled
Answer whether FreeType appears to be installed.
isItalic
Answer the value of isItalic
isItalic:
Set the value of isItalic
isStruckOut
Answer the value of isStruckOut
isStruckOut:
Set the value of isStruckOut
isUnderlined
Answer the value of isUnderlined
isUnderlined:
Set the value of isUnderlined
matchingFont
Answer the font that matches the selections.
newBoldButtonMorph
Answer a button for the boldness of the font.
newContentMorph
Answer a new content morph.
newFontFamilyMorph
Answer a list for the font family of the font.
newFontSizeMorph
Answer a list for the font size of the font.
newFontStyleButtonRowMorph
Answer a new font style button row morph.
newItalicButtonMorph
Answer a button for the italic emphasis of the font.
newStruckOutButtonMorph
Answer a button for the struck out emphasis of the font.
newTextPreviewMorph
Answer a text entry morph for the preview of the font.
newUnderlinedButtonMorph
Answer a button for the italic emphasis of the font.
previewText
Answer the value of previewText
previewText:
Set the value of previewText
selectedFont
Answer the value of selectedFont
selectedFont:
Set the value of selectedFont
taskbarIcon
Answer the icon for the receiver in a task bar.
textEmphasisCode
Answer the current bitmask for the text emphasis.
textPreviewMorph
Answer the value of textPreviewMorph
textPreviewMorph:
Set the value of textPreviewMorph
toggleBold
Toggle the font bold emphasis.
toggleItalic
Toggle the font italic emphasis.
toggleStruckOut
Toggle the font struck out emphasis.
toggleUnderlined
Toggle the font underlined emphasis.
updateFromSelectedFont
Update our state based on the selected font.
updateSelectedFont
Update the selected font to reflect the choices.
AlertDialogWindow
Message dialog with a warning icon.
icon
Answer an icon for the receiver.
taskbarIcon
Answer the icon for the receiver in a task bar.
AlphaImageMorph
Displays an image with the specified alpha value (translucency) and optional scale and layout (scaled, top-right etc.).
alpha
Answer the value of alpha
alpha:
Set the value of alpha
cachedForm
Answer the value of cachedForm
cachedForm:
Set the value of cachedForm
defaultColor
Answer the default color for the receiver.
defaultImage
Answer the default image for the receiver.
drawOn:
Draw with the current alpha
Can't do simple way since BitBlt rules are dodgy!.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
extent:
Allow as normal.
image:
Clear the cached form.
image:size:
Set the image to be the form scaled to the given size and padded if neccesary.
imageExtent
Answer the extent of the original form.
initialize
Initialize the receiver.
Use the 32 bit depth default image to avoid
unnecessary conversions.
layout
Answer the value of layout
layout:
Set the value of layout
layoutPosition
Answer the position that the cached form should be drawn
based on the layout
layoutSymbols
Answer the available layout options.
optimalExtent
Answer the optimal extent for the receiver.
scale
Answer the value of scale
scale:
Set the value of scale
AlphaInfiniteForm
Alpha aware InfiniteForm.
computeBoundingBox
Refer to the comment in DisplayObject|computeBoundingBox.
direction:
Ignore
displayOnPort:offsetBy:
this version tries to get the form aligned where the user wants it and not just aligned with the cliprect
extent
Answer the extent of the repeating area.
extent:
Set the value of extent
origin
Answer the origin.
origin:
Set the origin.
BoundedGradientFillStyle
Gradient fillstyle that draws with optional extent.
=
Answer whether equal.
extent
Answer the value of extent
extent:
Set the value of extent
fillRectangle:on:
Fill the given rectangle on the given canvas with the receiver.
hash
Hash is implemented because #= is implemented.
BracketMorph
Morph displaying opposing arrows.
drawOn:
Draw triangles at the edges.
horizontal
Answer whether horizontal or vertical.
horizontal:
Set whether horizontal or vertical.
initialize
Initialize the receiver.
leftOrTopVertices:
Answer the vertices for a left or top bracket in the given rectangle.
orientation
Answer the value of orientation
orientation:
Set the value of orientation
rightOrBottomVertices:
Answer the vertices for a right or bottom bracket in the given rectangle.
BracketSliderMorph
Abstract superclass for morphs that are used to select a component (R, G, B or A) of a colour.
defaultFillStyle
Answer the defauolt fill style.
extent:
Update the gradient directions.
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
gradient
Answer the gradient.
initialize
Initialize the receiver.
initializeSlider
Make the slider raised.
layoutBounds:
Set the bounds for laying out children of the receiver.
Note: written so that #layoutBounds can be changed without touching this method
roomToMove
Allow to run off the edges a bit.
sliderColor:
Set the slider colour.
sliderShadowColor
Answer the color for the slider shadow.
sliderThickness
Answer the thickness of the slider.
updateFillStyle
Update the fill style directions.
CheckboxButtonMorph
Checkbox/radio - button only.
adoptPaneColor:
Pass on to the border too.
beCheckbox
Change the images and square the border
to be a checkbox.
beRadioButton
Change the images and round the border
to be a radio button.
borderStyle:
Use narrowest image dimension.
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
borderWidth:
Use narrowest image dimension.
checkBox
checkboxBorderStyleToUse
Answer the borderStyle that should be used for the receiver when it is a checkbox.
checkboxFillStyleToUse
Answer the fillStyle that should be used for the receiver when it is a checkbox.
colorToUse
Answer the color we should use.
disable
Disable the receiver.
drawOn:
Draw the image for the current state.
enable
Enable the receiver.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
image:
Fixed to take account of border width. Use narrowest
dimanesion of image to allow a little flexibility.
imageToUse
Answer the image we should use.
initialize
Initialize the receiver.
isRadioButton
Answer the value of isRadioButton
isRadioButton:
Set the value of isRadioButton
mouseDown:
Handle the transitions.
mouseMove:
Check for straying.
mouseUp:
Allow on:send:to: to set the response to events other than actWhen
radioBorderStyleToUse
Answer the borderStyle that should be used for the receiver when it is a radio button.
radioButton
radioFillStyleToUse
Answer the fillStyle that should be used for the receiver when it is a radio button.
repressedImage
Answer the value of repressedImage
repressedImage:
Set the value of repressedImage. This is shown when
pressed after being off.
selected
Answer the state taking account of the intermediate states.
selected:
Set the state taking account of the intermediate states.
state
Answer the state.
state:
Change the image and invalidate the rect.
themeChanged
Update the on image.
CheckboxMorph
Checkbox with box button and label with enablement support.
beCheckbox
Change the button to be a checkbox.
beRadioButton
Change the button to be a radio button.
buttonMorph
Answer the value of buttonMorph
buttonMorph:
Set the value of buttonMorph
disable
Disable the receiver.
drawSubmorphsOn:
Display submorphs back to front.
Draw the focus here since we are using inset bounds
for the focus rectangle.
enable
Enable the receiver.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
font
Answer the label font
font:
Set the label font
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
getStateSelector
Answer the value of getStateSelector
getStateSelector:
Set the value of getStateSelector
handlesKeyboard:
Yes, we do it here.
initialize
Initialize the receiver.
isSelected
Answer whether the receiver is selected.
keyStroke:
Process keys navigation and space to toggle.
keyboardFocusChange:
The message is sent to a morph when its keyboard focus changes.
Update for focus feedback.
label
Answer the contents of the label morph.
label:
Set the contents of the label morph.
labelMorph
Answer the value of labelMorph
labelMorph:
Set the value of labelMorph
newButtonMorph
Answer a new button morph
newLabel
Answer a new label morph
newLabelMorph
Answer a new label morph
on:selected:changeSelected:
Set the receiver to the given model parameterized by the given message selectors.
setStateSelector
Answer the value of setStateSelector
setStateSelector:
Set the value of setStateSelector
takesKeyboardFocus
Answer whether the receiver can normally take keyboard focus.
toggleSelected
Toggle the selection state.
update:
Refer to the comment in View|update:.
updateButton:
Update the button due to mouse activity in the receiver.
updateEnabled
Update the enablement state.
updateSelection
Update the selection state.
ChooseDropListDialogWindow
Message dialog containing a drop list for selection of an item.
icon
Answer an icon for the receiver.
initialize
Initialize the receiver.
list
Answer the value of list
list:
Set the value of list
listMorph
Answer the value of listMorph
listMorph:
Set the value of listMorph
newContentMorph
Answer a new content morph.
newListMorph
Answer a new drop-list morph.
selectedItem
Answer the selected list item or nil if cancelled.
selectionIndex
Answer the initial selection index for the list.
taskbarIcon
Answer the icon for the receiver in a task bar.
ColorChooserMorph
ColorPresenter that opens a colour selector when clicked.
chooseColor
Popup the color picker for now.
enabled
Answer the enabled state of the receiver.
enabled:
Set the enabled state of the receiver.
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
initialize
Initialize the receiver.
newContentMorph
Answer a new button morph
on:color:changeColor:
Set the receiver to the given model parameterized by the given message selectors.
setColorSelector
Answer the value of setColorSelector
setColorSelector:
Set the value of setColorSelector
update:
Refer to the comment in View|update:.
updateEnabled
Update the enablement state.
ColorFillStyle
Simple fillstyle that draws a color at the specified origin with option extent.
extent
Answer the value of extent
extent:
Set the value of extent
fillRectangle:on:
Fill the given rectangle on the given canvas with the receiver.
isOrientedFill
Answer true if origin is not nil so that morph movement adjusts origin.
origin
Answer the value of origin
origin:
Set the value of origin
ColorPresenterMorph
Displays a colour with alpha against a white, hatched and black background.
contentMorph
Answer the value of contentMorph
contentMorph:
Set the value of contentMorph
getColorSelector
Answer the value of getColorSelector
getColorSelector:
Set the value of getColorSelector
hatchForm
Answer a form showing a grid hatch pattern.
initialize
Initialize the receiver.
labelMorph
Answer the value of labelMorph
labelMorph:
Set the value of labelMorph
newContentMorph
Answer a new content morph
newHatchForm
newHatchMorph
Answer a new morph showing a grid hatch pattern.
newLabelMorph
Answer a new label morph
on:color:
Set the receiver to the given model parameterized by the given message selectors.
setColor:
Update the colour of the labels.
solidLabelMorph
Answer the value of solidLabelMorph
solidLabelMorph:
Set the value of solidLabelMorph
update:
Refer to the comment in View|update:.
updateColor
Update the color state.
ColorSelectorDialogWindow
Standard dialog for selecting a colour by HSVA colour selector, picking from the screen or editing of values.
alpha
Answer the alpha value of the selected color.
alpha:
Set the alpha value of the selected color.
basicSelectedColor:
Set the value of selectedColor
blue
Answer the blue value of the selected color.
blue:
Set the blue value of the selected color.
brightness
Answer the brightness value of the selected color.
brightness:
Set the brightness value of the selected color.
colorSelected:
A color has been selected..
defaultLabel
Answer the default label for the receiver.
green
Answer the green value of the selected color.
green:
Set the green value of the selected color.
hsvaMorph
Answer the value of hsvaMorph
hsvaMorph:
Set the value of hsvaMorph
hue
Answer the hue value of the selected color.
hue:
Set the hue value of the selected color.
initialize
Initialize the receiver.
newColorComponentFieldMorph:
Answer a text entry for the specified aspect of the color.
newColorPickerButtonMorph
Answer a button to enable picking of colour.
newColorPresenterMorph
Answer a color presenter.
newContentMorph
Answer a new content morph.
newHSVAColorSelectorMorph
Answer a hsva color selector.
pickColor
Pick a colour from the screen.
red
Answer the red value of the selected color.
red:
Set the red value of the selected color.
saturation
Answer the saturation value of the selected color.
saturation:
Set the saturation value of the selected color.
selectedColor
Answer the value of selectedColor
selectedColor:
Set the value of selectedColor. Update the color selectors.
ComposableMorph
Morph with an inset border by default and theme access.
defaultBorderColor
Answer the default border color/fill style for the receiver
defaultBorderWidth
Answer the default border width for the receiver.
defaultTitle
Answer the default title label for the receiver.
newWindow
Answer a new window with the receiver as model,
except when the receiver is a morph (which can cause
an infinte loop asking for #requestor, from Services).
CompositeBorder
Border supporting multiple "sub-borders".
=
Check the sub-borders too
borders
Answer the value of borders
borders:
Set the value of borders
colorsAtCorners
Return the colors of the first border.
frameRectangle:on:
Draw each border in turn.
hash
Since #= is overridden.
isComposite
Answer true.
CompositeFillStyle
Fillstyle supporting compositing of multiple sub-fillstyles.
addFillStyleMenuItems:hand:from:
Add the items for changing the current fill style of the receiver
asColor
Answer a colour that is a best match to the receiver.
Simple approach for the moment.
changeOrientationIn:event:
Interactively change the origin of the receiver
changeOriginIn:event:
Interactively change the origin of the receiver
direction
Answer an effective direction of any oriented fill styles.
Answer the bottom-right maxima.
direction:
Change the effective direction of any oriented fill styles.
fillRectangle:on:
Fill the given rectangle on the given canvas with the receiver.
Render from bottom to top.
fillStyles
Answer the value of fillStyles. The first item in the collection is considered
to be topmost when rendered.
fillStyles:
Set the value of fillStyles. The first item in the collection is considered
to be topmost when rendering.
initialize
Initialize the receiver.
isCompositeFill
Answer whether the receiver is a composite fill.
True for kinds of the receiver's class.
isGradientFill
Answer whether any of the composited fill styles are gradients.
isOrientedFill
Answer whether any of the composited fill styles are oriented.
isTranslucent
Answer whether all of the composited fill styles are transparent.
isTransparent
Answer whether all of the composited fill styles are transparent.
normal
Answer an effective normal of any oriented fill styles.
Answer the top-left minima (probably not an accurate assumption).
normal:
Change the effective normal of any oriented fill styles.
origin
Answer an effective origin of any oriented fill styles.
Answer the top-left minima.
origin:
Change the effective origin of any oriented fill styles.
ControlButtonMorph
Specially themed "control" button. Used for drop-lists, expanders etc.
disabledBorderStyle
Return the disabled borderStyle of the receiver.
disabledFillStyle
Return the disabled fillStyle of the receiver.
initialize
Initialize the receiver.
minWidth
Consult the theme also.
mouseOverBorderStyle
Return the mouse over borderStyle of the receiver.
mouseOverFillStyle
Return the mouse over fillStyle of the receiver.
normalBorderStyle
Return the normal borderStyle of the receiver.
normalFillStyle
Return the normal fillStyle of the receiver.
pressedBorderStyle
Return the pressed borderStyle of the receiver.
pressedFillStyle
Return the pressed fillStyle of the receiver.
selectedDisabledBorderStyle
Return the selected disabled borderStyle of the receiver.
selectedDisabledFillStyle
Return the selected disabled fillStyle of the receiver.
selectedFillStyle
Return the selected fillStyle of the receiver.
selectedMouseOverBorderStyle
Return the selected mouse over borderStyle of the receiver.
selectedMouseOverFillStyle
Return the selected mouse over fillStyle of the receiver.
selectedPressedBorderStyle
Return the selected pressed borderStyle of the receiver.
selectedPressedFillStyle
Return the selected pressed fillStyle of the receiver.
CustomQuestionDialogWindow
QuestionDialog supporting custom text/buttons for yes/no choices.
defaultNoButton
Answer a default no button.
defaultYesButton
Answer a default yes button.
initialize
Initialize the receiver.
newButtons
Answer new buttons as appropriate.
noButton
Answer the value of noButton
noButton:
Set the value of noButton
noText:help:
Set the no button label.
yesButton
Answer the value of yesButton
yesButton:
Set the value of yesButton
yesText:help:
Set the yes button label.
DashedBorder
Border style supporting dashed lines of configurable patterns and colours.
dashColors
Answer the value of dashColors
dashColors:
Set the value of dashColors
dashColors:dashLengths:
Set the colours and lengths.
dashLengths
Answer the value of dashLengths
dashLengths:
Set the value of dashLengths
frameRectangle:on:
Frame the given rectangle on aCanvas
initialize
Initialize the receiver.
style
Answer #dashed.
width:dashColors:dashLengths:
DenyDialogWindow
Dialog window displaying a message with a single OK button. Escape/return will close. Icon is a themed lock icon.
icon
Answer an icon for the receiver.
taskbarIcon
Answer the icon for the receiver in a task bar.
DialogWindow
Dialog style window with no window controls (expand, collapse etc). Usually opened modally (the morph that is used to modally open determines the modal scope, use of World implies "system modal").
Designed to be subclassed with content.
Supports Escape key for cancel and Enter key for default button.
acceptTextMorphs
Accept any text morphs except for those that have no edits.
activate
Set the default focus for now, will want to
remember it at some point.
activeFillStyle
Return the active fillStyle for the receiver.
addInitialPanel
Add the panel.
addMainPanel
Add the main panel.
animateClose
Animate closing.
applyChanges
Apply the changes.
buttons
Answer the buttons in the button row
canBeMaximized
Answer whether we are not we can be maximised.
cancel
Cancel and close.
cancelled
Answer the value of cancelled
cancelled:
Set the value of cancelled
close
Close the window.
defaultButton
Answer the default button.
defaultFocusMorph
Answer the morph that should have the keyboard
focus by default when the dialog is opened.
defaultLabel
Answer the default label for the receiver.
doubleClick:
Handle a double click. Maximize/restore the window.
Not for dialogs if not resizeable...
escapePressed
Default is to cancel.
handlesKeyboard:
Return true if the receiver wishes to handle the given keyboard event
inactiveFillStyle
Return the active fillStyle for the receiver.
initialExtent
Answer the default extent for the receiver.
initialize
Initialize the receiver.
initializeLabelArea
Initialize the label area (titlebar) for the window.
isResizeable
Answer whether we are not we can be resized.
keyStroke:
Check for return and escape keys.
keyboardFocusChange:
Set the focus to the default button.
mainPanel
Anwer the main panel morph or nil if not yet present.
newButtonRow
Answer a new ok/cancel button row.
newButtons
Answer new buttons as appropriate.
newContentMorph
Answer a new content morph.
newMainPanel
Answer a new main panel.
ok
Apply the changes and close.
preferredCornerStyle
Answer the preferred corner style.
returnPressed
Default is to do the default button.
setButtonFont:
Set the font for the buttons.
setFramesForLabelArea
Delegate to theme.
setLabelWidgetAllowance
Set the extra space required, in general, apart from the label.
No extra needed for dialogs.
title:
Set the window title.
wantsGrips
Answer whether the window wants edge and corner grips.
wantsRoundedCorners
Answer whether rounded corners are wanted.
DropListMorph
Displays a selected item and a drop button. When pressed will popup a list to enable changing of the selection. Supports enablement.
adoptPaneColor:
Pass on to the list morph and border too.
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
buttonExtent
Answer based on theme and preferences.
buttonHeight
Answer based on theme.
buttonLabel
Answer the label for the button.
buttonMorph
Answer the value of buttonMorph
buttonMorph:
Set the value of buttonMorph
buttonWidth
Answer based on scrollbar size.
contentMorph
Answer the value of contentMorph
contentMorph:
Set the value of contentMorph
cornerStyle:
Pass on to list and button too.
defaultColor
Answer the default color of the receiver.
disable
Disable the receiver.
drawSubmorphsOn:
Display submorphs back to front.
Draw the focus here since we are using inset bounds
for the focus rectangle.
enable
Enable the receiver.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
extent:
Update the gradient.
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
focusBounds
Answer the bounds for drawing the focus indication.
focusIndicatorCornerRadius
Answer the corner radius preferred for the focus indicator
for the receiver for themes that support this.
font
Answer the list font
font:
Set the list and content font
getCurrentSelection
Answer the current selection from the model.
getCurrentSelectionIndex
Answer the index of the current selection.
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
getIndexSelector
Answer the value of getIndexSelector
getIndexSelector:
Set the value of getIndexSelector
getListSelector
Answer the value of getListSelector
getListSelector:
Set the value of getListSelector
handlesKeyboard:
Return true if the receiver wishes to handle the given keyboard event.
hideList
Hide the list.
initialize
Initialize the receiver.
keyStroke:
Pass on to the list.
keyboardFocusChange:
The message is sent to a morph when its keyboard focus changes.
Update for focus feedback.
list
Answer the list contents.
list:
Set the list contents.
listHeight
Answer the height for the list.
listMorph
Answer the value of listMorph
listMorph:
Set the value of listMorph
listMorphClass
Answer the class for a new list morph
listMouseDown:
Click outside the list.
listPaneColor:
Set the pane color for the list.
listSelectionIndex
Answer the list selection.
listSelectionIndex:
Set the list selection.
listVisible
Answer whether the list is visible.
morphicLayerNumber
Answer the layer number.
newButtonMorph
Answer a new button morph
newContentMorph
Answer a new content morph
newListMorph
Answer a new list morph
on:list:selected:changeSelected:
Set the receiver to the given model parameterized by the given message selectors.
on:list:selected:changeSelected:useIndex:
outOfWorld:
Get rid of the list if visible.
popList
Hide / show the list.
roundedCorners:
Set the corners to round.
selectedItem
Answer the selected list item.
selectionColor
Answer the selection color for the receiver.
selectionColor:
Set the selection color for the receiver.
setIndexSelector
Answer the value of setIndexSelector
setIndexSelector:
Set the value of setIndexSelector
showList
Show the list.
step
Reset mouse focus to the list if it is showing.
stepTime
Answer the desired time between steps in milliseconds.
takesKeyboardFocus
Answer whether the receiver can normally take keyboard focus.
themeChanged
Update the selection colour.
update:
Refer to the comment in View|update:.
updateContentColor:
Change the content text color.
updateContents
Update the contents.
updateEnabled
Update the enablement state.
updateList
Refresh the list.
updateListSelectionIndex
Update the list selection.
useIndex
Use the model as returning the selected index rather than item.
useSelection
Use the model as returning the selected item rather than index.
useSelectionIndex
Answer the value of useSelectionIndex
useSelectionIndex:
Set the value of useSelectionIndex
EdgeGripMorph
Similar to a ProportionalSplitterMorph but designed to attach to an edge of a single morph only.
adoptPaneColor:
Change our color too.
bottomLayoutFrame
Answer the layout frame for a bottom edge.
defaultHeight
Answer the default height for the receiver.
defaultWidth
Answer the default width for the receiver.
edgeName
Answer the value of edgeName
edgeName:
Set the value of edgeName
extent:
If our minor extent changes then adopt the pane colour to
reflect any size based gradient in the theme.
Assumes fillStyle will not change on the major extent for
performance reasons.
gripLayoutFrame
Answer the layout frame dependinbg on our edge.
initialize
Initialize the receiver.
isHorizontal
Answer true if the receiver has a horizontal layout.
leftLayoutFrame
Answer the layout frame for a left edge.
mouseDown:
Remember the receiver and target offsets too.
mouseMove:
Track the mouse for resizing.
mouseUp:
Change the cursor back to normal if necessary and change the color back to normal.
normalFillStyle
Return the normal fillStyle of the receiver.
positionPoint:
Reposition based on ptName.
pressedFillStyle
Return the pressed fillStyle of the receiver.
resizeCursor
rightLayoutFrame
Answer the layout frame for a right edge.
splitsTopAndBottom
Answer true if the receiver has a horizontal layout.
target
Answer the value of target
target:
Set the value of target
targetPoint
Answer the reference point of the target.
targetPoint:
Set the reference point of the target.
themeChanged
Update the fill style.
topLayoutFrame
Answer the layout frame for a top edge.
EmbeddedMenuMorph
Menu designed to be embedded in another morph rather than popped up directly.
allEnabledSiblingItems
Answer the receiver's submorphs followed by the (wrapping) owner's
submorph items. Answer only enabled items.
allSiblingItems
Answer the receiver's submorphs followed by the (wrapping) owner's
submorph items. Nasty.
drawOn:
Draw the receiver on the canvas.
handlesKeyboard:
Answer whether the receiver handles the keystroke represented by the event
keyStroke:
Handle tabbing and arrows and cr/space.
keyboardFocusChange:
Nasty hack for scrolling upon keyboard focus.
moveSelectionDown:event:
Move the selection down or up (negative number) by (at least)
the specified amount. If the item is not enabled, scan one at a time
in that direction. If we move off the top/bottom then switch focus to any
sibling menu and start scanning at the relevant end.
selectItem:event:
Deselect any sibling menus.
selectLastPrefix:
Answer the last subitem that has text that matches the given prefix.
Answer nil if none.
Disable non-matching items and enable matching items.
selectPrefix:
Answer the first subitem that has text that matches the given prefix.
Answer nil if none.
Disable non-matching items and enable matching items.
EmbossedStringMorph
A label that underdraws to the top-left and/or bottom-right with a lighter and/or darker colour to the receiver.
adoptPaneColor:
Set the color.
drawOn:
Draw the hi/lowlights too.
initWithContents:font:emphasis:
Grrr, why do they do basicNew?
initialize
Initialize the receiver.
measureContents
Measure the contents for fitting. Add 2@2 for hi/lowlights.
style
Answer the value of style
style:
Set the value of style
styleSymbols
Answer the valid styles.
trackPaneColor
Answer the value of trackPaneColor
trackPaneColor:
Set the value of trackPaneColor
ErrorDialogWindow
A message dialog with an error icon.
icon
Answer an icon for the receiver.
taskbarIcon
Answer the icon for the receiver in a task bar.
EventHandlerPlus
Support for handling mouseOver events (no button down).
handlesMouseOver:
Answer whether we can handle the event.
methodRefList
Return a MethodReference for each message I can send.
mouseOver:fromMorph:
Relay the event.
on:send:to:
Register the selector and recipient for the given event name.
ExampleBuilderMorph
Morph with an inset border by default and theme access. Overrides openModal: to allow multiple free example dialogs to be presented.
openModal:
Open the given window an available position without modality.
Answer the system window.
ExampleRadioButtonModel
Model used for radio buttons in example of basic controls (see "UITheme exampleBasicControls").
beCenter
Set the option to #center.
beLeft
Set the option to #left.
beRight
Set the option to #right.
initialize
Initialize the receiver.
isCenter
Answer whether the option if #center.
isLeft
Answer whether the option if #left.
isRight
Answer whether the option if #right.
option
Answer the value of option
option:
Set the value of option
ExpanderMorph
A morph that can expand or collapse to show its contents.
addedMorph:
Notify the receiver that the given morph was just added.
defaultTitleMorph
Answer a default title morph for the receiver.
expanded
Answer whether the title is expanded.
expanded:
Set whether the title is expanded.
fixLayout
Fix the owner layout, nasty!
font
Answer the title font
font:
Set the title font
initialize
Initialize the receiver.
showMorphs:
Hide/Show the other morphs.
titleMorph
Answer the value of titleMorph
titleMorph:
Set the value of titleMorph
titleText:
Set the text if the title morph is capable.
update:
Update the receiver.
ExpanderTitleMorph
The titlebar area for and ExpanderMorph. Includes title label and expand/collapse button.
adoptPaneColor:
Update the fill styles, corner styles, label colour
and expansion button indicator.
buttonMorph
Answer the value of buttonMorph
buttonMorph:
Set the value of buttonMorph
buttonWidth
Answer based on scrollbar size.
defaultBorderStyle
Answer the default border style for the receiver.
expandLabel
Answer the label for the expand button.
expanded
Answer the value of expanded
expanded:
Set the value of expanded
font
Answer the label font
font:
Set the label font
initialize
Initialize the receiver.
labelMorph
Answer the value of labelMorph
labelMorph:
Set the value of labelMorph.
need to wrap to provide clipping!
newExpandButtonMorph
Answer a new expand button.
newLabelMorph
Answer a new label morph for the receiver.
normalFillStyle
Return the normal fillStyle of the receiver.
titleText
Answer the text if the title morph is capable.
titleText:
Set the text if the title morph is capable.
toggleExpanded
Toggle the expanded state.
FileDialogWindow
Dialog based file chooser for selcting or saving files. Supports various types of answer (file stream, file name, directory path etc) with optional extension filters and image or text file preview.
actionSelector
Answer the value of actionSelector
actionSelector:
Set the value of actionSelector
addInitialPanel
Add the panel.
answer
Answer the result of performing the action selector.
answer:
Set the answer.
answerDirectory
Set the receiver to answer a directory.
answerFileEntry
Set the receiver to answer the selected file entry.
answerFileName
Set the receiver to answer the selected file name.
answerForceSaveFile
Set the receiver to answer a forced new file stream.
answerOpenFile
Set the receiver to answer a new file stream on an existing file.
answerPathName
Set the receiver to answer the selected path name.
answerSaveFile
Set the receiver to answer a new file stream.
cache:
Cache the contents of the given directory and answer them.
clearEntryCache
Clear the entry cache.
defaultExtension
Answer the value of defaultExtension
defaultExtension:
Set the value of defaultExtension
defaultFileSelectionBlock
Answer the default file selection block.
defaultFileSortBlock
Answer the default file stor block
defaultLabel
Answer the default label for the receiver.
deleteFileOrDirectory
Delete the selected file or directory.
directories
Answer the value of directories
directories:
Set the value of directories
directoryFileSelectionBlock
Answer the directory file selection block.
directoryNamesFor:
Answer the filtered entries.
directoryTreeMorph
Answer the value of directoryTreeMorph
directoryTreeMorph:
Set the value of directoryTreeMorph
doubleClickFile
If the selected entry is a directory then navigate it
otherwise ok the dialog.
entryCache
Answer the value of entryCache
entryCache:
Set the value of entryCache
entryCacheDirectory
Answer the value of entryCacheDirectory
entryCacheDirectory:
Set the value of entryCacheDirectory
fileItems
Answer the items for the contents of the selected directory.
fileListMorph
Answer the value of fileListMorph
fileListMorph:
Set the value of fileListMorph
fileNamePattern
Answer the file name pattern to filter on.
fileNameText
Answer the typed file name.
fileNameText:
The typed file name has changed.
fileSelectionBlock
Answer the value of fileSelectionBlock
fileSelectionBlock:
Set the value of fileSelectionBlock
fileSortBlock
Answer the value of fileSortBlock
fileSortBlock:
Set the value of fileSortBlock
files
Answer the contents of the selected directory.
hasParentDirectory
Answer whether the selected directory in the tree part has a parent.
hasSelectedFileOrDirectory
Answer whether a file or directopry is selected in the file list.
iconFor:
Answer the icon to use for the directory entry.
initialDirectories
Answer the initial directories.
initialize
Initialize the receiver.
isImageFile:
Answer whether the file name indicates an image file.
isResizeable
Answer whether we are not we can be resized.
newActionButtonRow
Answer a new row with the action buttons.
newContentMorph
Answer a new content morph.
newDeleteButton
Answer a new delete button.
newDirectory
Create a new directory within the selected directory.
newDirectoryTree
Answer a new directory tree.
newFileList
Answer a new file list.
newFileNameTextEntry
Answer a new file name text entry morph.
newImagePreviewMorph
Answer a new image preview morph.
newNewDirectoryButton
Answer a new 'new directory' button.
newOKButton
Answer a new OK button.
newPreviewMorph
Answer a new preview morph.
newTextPreviewMorph
Answer a new text preview morph.
newUpButton
Answer a new up one directory level button.
ok
Apply the changes and close.
okEnabled
Answer wether the ok button should be enabled.
openSelectedFile
Open a stream on the selected file if available and return it.
previewMorph
Answer the value of previewMorph
previewMorph:
Set the value of previewMorph
previewSize
Answer the size of preview to use.
previewType
Answer the value of previewType
previewType:
Set the value of previewType.
See #updatePreview for supported types.
saveForcedSelectedFile
Open a stream on the selected file if available and return it.
saveSelectedFile
Open a stream on the selected file if available and return it.
selectDirectory:
Expand and select the given directory.
selectFileFromPattern
If there is a single file matching the pattern then select it.
If none then try for a directory.
selectParentDirectory
Switch to the parent directory.
selectPathName:
Select the directory and set the file name text
from the given string.
selectedAnyFileDirectory
Answer the file directory for the selected file or, if none
or not a directory, the selected file directory.
selectedDirectory
Answer the value of selectedDirectory
selectedDirectory:
Set the value of selectedDirectory
selectedDirectoryName
Answer the name of the selected directory.
selectedFileDirectory
Answer the selected file directory in the tree part.
selectedFileEntry
Answer the selected file.
selectedFileIndex
Answer the value of selectedFileIndex
selectedFileIndex:
Set the value of selectedFileIndex
selectedFileName
Answer the name of the selected file.
selectedPathName
Answer the name of the selected path.
showDirectoriesInFileList
Answer the value of showDirectoriesInFileList
showDirectoriesInFileList:
Set the value of showDirectoriesInFileList
taskbarIcon
Answer the icon for the receiver in a task bar.
updateDirectories
Update the directory tree and reselect the current.
updateFiles
Notify that the files have changed.
updateImagePreview
Update the image preview.
updatePreview
Update the preview.
updateSelectedDirectory
Notify that the selected directory has changed.
updateSelectedFile
Notify that the selected file has changed.
updateTextPreview
Update the text preview.
validExtensions:
Set the filter for the files to be those with the given extensions.
FillStyleBorder
BorderStyle supporting general (potentially composite) fillstyles.
borderRectsFor:
Answer a collection of rectangles to fill.
Just four here for a rectangular border.
fillStyle
Answer the value of fillStyle
fillStyle:
Set the value of fillStyle
frameRectangle:on:
Fill the border areas with the fill style, clipping for each segment.
hasFillStyle
Answer true.
FreeTypeFontSelectorDialogWindow
A FreeTypeFontSelectorDialogWindow is xxxxxxxxx.
Instance Variables
defaultFontFamilies
Answer the set of available fonts families that are supported in the font that they represent.
matchingFont
Answer the font that matches the selections.
newFontStyleButtonRowMorph
Answer a new font style button row morph.
updateFromSelectedFont
Update our state based on the selected font.
FullscreenMorph
Provides for another morph to occupy the full screen area (less docking bars).
areasRemainingToFill:
Optimised like BorderedMorph.
contentMorph
Answer the current content.
defaultColor
Return the receiver's default color.
edgeToAdhereTo
Must implement. Answer #none.
initialize
Initialize the receiver.
isAdheringToBottom
Must implement. Answer false.
isAdheringToLeft
Must implement. Answer false.
isAdheringToRight
Must implement. Answer false.
isAdheringToTop
Must implement. Answer false.
isDockingBar
Answer yes so we get updated when the Display is resized.
layoutChanged
Don't pass to owner, since the receiver doesn't care! Improves frame rate.
openAsIs
Open in the current world with the current position and extent.
openAsIsIn:
Start stepping.
openInWorld:
Open as is.
setContentMorph:
Replace the submorphs with aMorph.
updateBounds
Update the receiver's bounds to fill the world.
FuzzyLabelMorph
A label that underdraws to the top-left, top-right, bottom-right and bottom left by a specifed offset in a contrasting colour to the receiver's with a specified alpha value.
alpha
Answer the value of alpha
alpha:
Set the value of alpha
drawOn:
Draw based on enablement.
initWithContents:font:emphasis:
Grrr, why do they do basicNew?
initialize
Initialize the receiver.
measureContents
Add 2 times offset.
offset
Answer the value of offset
offset:
Set the value of offset
setWidth:
Set the width/extent.
GeneralScrollBar
Support for GeneralScrollPane.
setValue:
Bypass screwed up scrollbar!
GeneralScrollPane
A scroll pane that handles its contents accurately.
adoptPaneColor:
Adopt the given pane color.
defaultColor
Answer the default color/fill style for the receiver.
defaultScrollTarget
Answer a new default scroll target.
extent:
Update the receiver's extent. Hide/show the scrollbars and resize the scroller
as neccessary.
fitScrollTarget
If the scroller is bigger than the scroll target then
resize the scroll target to fill the scroller.
hHideScrollbar
Hide the horizontal scrollbar.
hPageDelta
Answer the horizontal page delta.
hResizeScrollbar
Resize the horizontal scrollbar to fit the receiver.
hScrollbar
Answer the value of hScrollbar
hScrollbar:
Set the value of hScrollbar
hScrollbarInterval
Answer the computed size of the thumb of the horizontal scrollbar.
hScrollbarNeeded
Return whether the horizontal scrollbar is needed.
hScrollbarShowing
Answer whether the horizontal scrollbar is showing.
hScrollbarValue
Answer the computed horizontal scrollbar value.
hScrollbarValue:
Set the offset of the scroller to match the 0.0-1.0 scroll value.
hSetScrollDelta
Set the horizontal scrollbar delta, value and interval, based on the current scroll bounds and offset.
hShowScrollbar
Show the horizontal scrollbar.
hUpdateScrollbar
Update the visibility and dimensions of the horizontal scrollbar as needed.
handlesKeyboard:
Yes for page up/down.
handlesMouseWheel:
Do I want to receive mouseWheel events?.
initialize
Initialize the receiver.
keyStroke:
If pane is not empty, pass the event to the last submorph,
assuming it is the most appropriate recipient (!)
mouseWheel:
Handle a mouseWheel event.
newHScrollbar
Answer a new horizontal scrollbar.
newScroller
Answer a new scroller.
newVScrollbar
Answer a new vertical scrollbar.
resizeScroller
Resize the scroller to fit the scroll bounds.
scrollBarThickness
Answer the width or height of a scrollbar as appropriate to
its orientation.
scrollBounds
Return the visible scroll area taking into account whether
the scrollbars need to be shown.
scrollByKeyboard:
If event is ctrl+up/down then scroll and answer true.
scrollTarget
Answer the morph that is scrolled.
scrollTarget:
Set the morph that is scrolled.
scrollToShow:
Scroll to include as much of aRectangle as possible, where aRectangle is in the scroller's local space.
scrollbarThickness
Answer the width or height of a scrollbar as appropriate to
its orientation.
scroller
Answer the value of scroller
scroller:
Set the value of scroller
setScrollDeltas
Set the ScrollBar deltas, value and interval, based on the current scroll pane size, offset and range.
updateScrollbars
Update the visibility, dimensions and values of the scrollbars as needed.
vHideScrollbar
Hide the vertical scrollbar.
vLeftoverScrollRange
Return the entire scrolling range minus the currently viewed area.
vPageDelta
Answer the vertical page delta.
vResizeScrollbar
Resize the vertical scrollbar to fit the receiver.
vScrollbar
Answer the value of vScrollbar
vScrollbar:
Set the value of vScrollbar
vScrollbarInterval
Answer the computed size of the thumb of the vertical scrollbar.
vScrollbarNeeded
Return whether the vertical scrollbar is needed.
vScrollbarShowing
Answer whether the vertical scrollbar is showing.
vScrollbarValue
Answer the computed vertical scrollbar value.
vScrollbarValue:
Set the offset of the scroller to match the 0.0-1.0 scroll value.
vSetScrollDelta
Set the vertical scrollbar delta, value and interval, based on the current scroll bounds and offset.
vShowScrollbar
Show the vertical scrollbar.
vUpdateScrollbar
Update the visibility and dimensions of the vertical scrollbar as needed.
GroupboxMorph
Groupbox with title with a vertical layout. Appears in a lighter colour than the owner's pane colour.
addContentMorph:
Add a morph to the content.
adoptPaneColor:
Pass on to the content morph.
containsPoint:
Override here to check the label and content instead.
contentMorph
Answer the value of contentMorph
contentMorph:
Set the value of contentMorph
cornerStyle:
Pass on to list too.
font
Answer the label font
font:
Set the label font
initialColorInSystemWindow:
Answer the colour the receiver should be when added to a SystemWindow.
initialize
Initialize the receiver.
label
Answer the contents of the label morph.
label:
Set the contents of the label morph.
labelMorph
Answer the value of labelMorph
labelMorph:
Set the value of labelMorph
minExtent
Answer the minmum extent of the receiver.
Based on label and rounding.
newContentMorph
Answer a new content morph
newLabelMorph
Answer a new label morph
paneColorOrNil
Answer the window's pane color or nil otherwise.
roundedCorners:
Set the corners to round.
selectedTab
Answer the label morph for compatibility with TabPanelBorder.
HColorSelectorMorph
ColorComponentSelector showing a hue rainbow palette.
color:
Ignore to preserve fill style.
defaultFillStyle
Answer the hue gradient.
HSVAColorSelectorMorph
Colour selector featuring a saturation/volume area, hue selection strip and alpha selection strip.
aMorph
Answer the value of aMorph
aMorph:
Set the value of aMorph
alphaSelected:
The alpha has changed.
colorSelected:
A color has been selected. Set the base color for the alpha channel.
defaultColor
Answer the default color/fill style for the receiver.
hsvMorph
Answer the value of hsvMorph
hsvMorph:
Set the value of hsvMorph
initialize
Initialize the receiver.
newAColorMorph
Answer a new alpha color morph.
newHSVColorMorph
Answer a new hue/saturation/volume color morph.
selectedColor
Answer the selected color.
selectedColor:
Set the hue and sv components.
triggerSelectedColor
Trigger the event for the selected colour
HSVColorSelectorMorph
Colour selector featuring a saturation/volume area and a hue selection strip.
colorSelected:
A color has been selected. Make the hue match.
defaultColor
Answer the default color/fill style for the receiver.
hMorph
Answer the value of hMorph
hMorph:
Set the value of hMorph
hue:
Set the hue in the range 0.0 - 1.0. Update the SV morph and hMorph.
initialize
Initialize the receiver.
newHColorMorph
Answer a new hue color morph.
newSVColorMorph
Answer a new saturation/volume color morph.
selectedColor
Answer the selected color.
selectedColor:
Set the hue and sv components.
svMorph
Answer the value of svMorph
svMorph:
Set the value of svMorph
ImageFillStyle
Simple fillstyle that draws a (potentially translucent) form at the specified origin. Direction and normal are unused.
=
Answer whether equal.
asColor
Answer the colour of the first pixel.
extent
Answer the value of extent
extent:
Set the value of extent
fillRectangle:on:
Fill the given rectangle on the given canvas with the receiver.
form
Answer the value of form
form:
Set the value of form
hash
Hash is implemented because #= is implemented.
initialize
Initialize the receiver.
offset
Answer the value of offset
offset:
Set the value of offset
ImagePreviewMorph
Displays an image scaled to a fixed size along with a label describing the original dimensions.
cornerStyle:
Pass on to selector and content too.
defaultImageFormOfSize:
Answer a default preview image form.
image:size:
Set the image and update the description.
imageMorph
Answer the value of imageMorph
imageMorph:
Set the value of imageMorph
initialize
Initialize the receiver.
newImageMorph
Answer a new image morph.
newTextMorph
Answer a new text morph.
textMorph
Answer the value of textMorph
textMorph:
Set the value of textMorph
IncrementalSliderMorph
An IncrementalSliderMorph is xxxxxxxxx.
Instance Variables
getEnabledSelector: <Object>
getValueSelector: <Object>
setValueSelector: <Object>
sliderMorph: <Object>
getEnabledSelector
- xxxxx
getValueSelector
- xxxxx
setValueSelector
- xxxxx
sliderMorph
- xxxxx
buttons
Answer the buttons.
decrement
Decrement the value.
defaultSliderFillStyle
Answer the hue gradient.
enabled
Answer whether the receiver is enabled for user input.
enabled:
Set whether the receiver is enabled for user input.
extent:
Set the button width to match the height.
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
getValueSelector
Answer the value of getValueSelector
getValueSelector:
Set the value of getValueSelector
increment
Increment the value.
initialize
Initialize the receiver.
max
Answer the max value.
max:
Set the max value.
maxEnabled
Answer whether the maximum button should be enabled.
min
Answer the min value.
min:
Set the min value.
minEnabled
Answer whether the minimum button should be enabled.
minExtent
Must answer a fixed small size here to
allow auto orientation to work.
newButtonLabel:ofSize:
Answer a new label for an inc/dec button.
newDecrementButton
Answer a new decrement button.
newIncrementButton
Answer a new increment button.
newSliderMorph
Answer a new morph for the slider.
notAtMax
Answer whether the value is not at the maximum,
notAtMin
Answer whether the value is not at the minimum,
on:getValue:setValue:
Use the given selectors as the interface.
on:getValue:setValue:min:max:quantum:
quantum
Answer the quantum value.
quantum:
Set the quantum value.
setValueSelector
Answer the value of setValueSelector
setValueSelector:
Set the value of setValueSelector
sliderMorph
Answer the value of sliderMorph
sliderMorph:
Set the value of sliderMorph
update:
Update the value.
updateEnabled
Update the enablement state.
updateOrientation:
Set the layout for the new extent.
updateValue
Update the value.
value
Answer the slider value.
value:
Set the slider value.
InterpolatedGradientFillStyle
Gradient fill style that uses proper alpha-aware interpolation.
computePixelRampOfSize:
Compute the pixel ramp in the receiver.
interpolatedAlphaMix:of:and:
Answer a proper interpolated value between two RGBA color words.
Theta is 0..1..
KeyedTree
Provides path based access to elements contained in the receiver and any subtrees.
Example:
(KeyedTree new
at: 1 put: 'One';
at: 2 put: 'Two';
at: 'Tree' put: (KeyedTree new
at: $a put: 'Tree-A';
at: $b put: 'Tree-B';
yourself);
yourself) atPath: #('Tree' $b)
allKeys
Answer an ordered collection of the keys of the receiver and any subtrees.
Please no circular references!
atPath:
Answer the element referenced by the give key path.
Signal an error if not found.
atPath:ifAbsent:
Answer the element referenced by the given key path.
Answer the value of aBlock if not found.
atPath:ifAbsentPut:
Answer the element referenced by the given key path.
Answer the value of aBlock if not found after creating its path.
atPath:put:
Answer the value of aBlock after creating its path.
copy
Must copy the associations, or later store will affect both the
original and the copy.
Copy any subtrees too!
formattedText
Answer a string or text representing the receiver with indentation and, possibly, markup.
formattedTextWithDescriptions:
Answer a string or text representing the receiver with indentation and, possibly, markup.
Descriptions of each item are taken from the given tree with
the same key structure as the receiver.
merge:
Merge the given tree into the receiver, overwriting or extending elements as needed.
putFormattedTextOn:level:indentString:
Place a description of the receiver on the given stream with the given indentation level.
putFormattedTextOn:withDescriptions:level:indentString:
Place a print of the receiver and associated description on the given stream with the given indentation level.
removePath:
Remove and answer the element referenced by the given path.
Signal an error if not found.
removePath:ifAbsent:
Remove and answer the element referenced by the given path.
Answer the value of aBlock if not found.
sortBlock
Answer the block to sort tree keys with.
subtrees
Answer the subtrees of the receiver.
LabelMorph
String morph with enablement support. When disabled the text will appear inset.
disable
Disable the receiver.
disabledStyle
Answer the value of disabledStyle
disabledStyle:
Set the value of disabledStyle
drawOn:
Draw based on enablement.
enable
Enable the receiver.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
initWithContents:font:emphasis:
Grrr, why do they do basicNew?
initialize
Initialize the receiver.
minHeight
Answer the receiver's minimum height.
based on font height.
minWidth
Answer the minmum width of the receiver.
Based on font and contents.
model
Answer the value of model
model:
Set my model and make me me a dependent of the given object.
update:
Refer to the comment in View|update:.
updateEnabled
Update the enablement state.
LazyMorphListMorph
Support for morph lists in PluggableMorphListMorph.
adjustHeight
private. Adjust our height to match the length of the underlying list.
Automatic with table layout.
adjustWidth
private. Adjust our height to match the length of the underlying list
display:atRow:on:
Display the given item at the given row on the given canvas.
drawBoundsForRow:
Calculate the bounds that row should be drawn at. This might be outside our bounds!
drawSubmorphsOn:
Display submorphs back to front
hUnadjustedScrollRange
Answer the width of the widest item.
initialize
Initialize the receiver.
listChanged
set newList to be the list of strings to display
rowAtLocation:
return the number of the row at aPoint
selectRow:
select the index-th row
selectionFrameForRow:
Answer the selection frame rectangle.
userString
Do I have a text string to be searched on?
widthToDisplayItem:
ListModel
Resusable model for a simple single selection list.
initialize
Initialize the receiver.
list
Answer the value of list
list:
Set the value of list
selectedItem
Answer the currently selected item or nil if none.
selectionIndex
Answer the value of selectionIndex
selectionIndex:
Set the value of selectionIndex
LongMessageDialogWindow
Dialog window displaying a message with a single OK button. Escape/return will close. Icon is a themed information icon.
Handles long messages through use of a text editor with potential for scrolling.
entryText
Answer the value of entryText
entryText:
Set the value of entryText
newContentMorph
Answer a new content morph.
newTextMorph
Answer a new text editor morph.
text:
Set the text.
MarginBorder
Border with customisable inner margin.
drawLineFrom:to:on:
Reduce the width by the margin.
frameRectangle:on:
Reduce width by the margin.
initialize
Initialize the receiver.
margin
Answer the value of margin
margin:
Set the value of margin
MessageDialogWindow
Dialog window displaying a message with a single OK button. Escape/return will close. Icon is a themed information icon.
icon
Answer an icon for the receiver.
iconMorph
Answer the value of iconMorph
iconMorph:
Set the value of iconMorph
initialExtent
Answer the initial extent for the receiver.
Adjust the text if the text would be wider than 1/4 the display width.
newButtons
Answer new buttons as appropriate.
newContentMorph
Answer a new content morph.
newIconMorph
Answer an icon for the receiver.
newTextMorph
Answer a text morph.
playOpenSound
Play the themed sound for opening.
Do nothing at present, done by the UIManager.
taskbarIcon
Answer the icon for the receiver in a task bar.
text:
Set the text.
textFont
Answer the text font.
textFont:
Set the text font.
textMorph
Answer the value of textMorph
textMorph:
Set the value of textMorph
themeChanged
Update the icon.
ModelDependentDialogWindow
DialogWindow that updates content based upon its model.
addInitialPanel
Don't until the model is set.
model:
Set the model and add the panel for it.
MorphDropListMorph
Drop list supporting morphs in list.
font:
Set the list font
listMorphClass
Answer the class for a new list morph
newContentMorph
Answer a new content morph
updateContentColor:
Change the content text color.
updateContents
Update the contents.
MouseWheelEvent
A mouse event generated by intercepting the keyboard events (ctrl+up/down arrow) generated by the VM in response to mouse wheel activity.
direction
Answer the value of direction
direction:
Set the value of direction
isMouseWheel
Answer whether the receiver is a mouse wheel event.
sentTo:
Dispatch the receiver into anObject
setType:position:direction:buttons:hand:stamp:
Set the state for the receiver.
MultiNewParagraphWithSelectionColor
Paragraph supporting custom selection colour.
selectionColor
Answer the selection color.
selectionColor:
Set the value of selectionColor
MultistateButtonMorph
A simple button that handles multiple fillstyle states:
Normal
Mouse-over
Mouse-down-inside
Mouse-down outside
with variants being a combination of passive/active and enabled/disabled.
activate
Make active.
active
Answer the value of active
active:
Set the value of active
activeDisabledNotOverDownFillStyle:
Set the active, disabled, notOver, down fill style.
activeDisabledNotOverUpFillStyle:
Set the active, disabled, notOver, up fill style.
activeDisabledOverDownFillStyle:
Set the active, disabled, over, down fill style.
activeDisabledOverUpFillStyle:
Set the active, disabled, over, up fill style.
activeEnabledNotOverDownFillStyle:
Set the active, enabled, notOver, down fill style.
activeEnabledNotOverUpFillStyle:
Set the active, enabled, notOver, up fill style.
activeEnabledOverDownFillStyle:
Set the active, enabled, over, down fill style.
activeEnabledOverUpFillStyle:
Set the active, enabled, over, up fill style.
addDownAction:
Add a down event handler.
addUpAction:
Add an up event handler.
changed
Update the fillStyle here.
down
Answer the value of down
down:
Set the value of down
enabled
Answer whether the button is rnabled.
enabled:
Set the value of enabled
extent:
Center the fill style origin.
fillStyleToUse
Answer the fill style to used based on the current state.
fillStyles
Answer all the fill styles
handlesMouseDown:
Yes.
handlesMouseOver:
Answer true, otherwise what is all that
#mouseEnter:/#mouseLeave: stuff about?
handlesMouseOverDragging:
Yes, for other states.
initialize
Initialize the receiver.
mouseDown:
Handle a mouse down event.
mouseEnter:
Handle a mouseEnter event, meaning the mouse just entered my bounds with no button pressed.
mouseEnterDragging:
Handle a mouseEnterDragging event, meaning the mouse just entered my bounds with a button pressed or laden with submorphs.
mouseLeave:
Handle a mouseLeave event, meaning the mouse just left my bounds with no button pressed.
mouseLeaveDragging:
Handle a mouseLeaveLaden event, meaning the mouse just left my bounds with a button pressed or laden with submorphs.
mouseUp:
Handle a mouse up event.
over
Answer the value of over
over:
Set the value of over
passivate
Make passive.
passiveDisabledNotOverDownFillStyle:
Set the passive, disabled, notOver, down fill style.
passiveDisabledNotOverUpFillStyle:
Set the passive, disabled, notOver, up fill style.
passiveDisabledOverDownFillStyle:
Set the passive, disabled, over, down fill style.
passiveDisabledOverUpFillStyle:
Set the passive, disabled, over, up fill style.
passiveEnabledNotOverDownFillStyle:
Set the passive, enabled, notOver, down fill style.
passiveEnabledNotOverUpFillStyle:
Set the passive, enabled, notOver, up fill style.
passiveEnabledOverDownFillStyle:
Set the passive, enabled, over, down fill style.
passiveEnabledOverUpFillStyle:
Set the passive, enabled, over, up fill style.
privateMoveBy:
Adjust all the fill styles
removeDownActions
Remove all down event handlers
removeUpActions
Remove all up event handlers
stateMap
Answer the value of stateMap
stateMap:
Set the value of stateMap
NullSound
A NullSound is xxxxxxxxx.
Instance Variables
play
NullSoundTheme
A NullSoundTheme is xxxxxxxxx.
Instance Variables
defaultDefaultSound
Answer the default default sound!
themeName
ObjectStringConverter
Generic object<->string converter for use with PluggableTextFieldMorph. #next: and #previous: unused at present.
forClass:
isStringValid:
Answer whether the given string is valid for conversion.
needsConversion
Answer whether conversion is required for the receiver's object class.
next:
Answer the next item (upwards).
objectAsString:
Answer the given object in string form.
objectClass
Answer the class of object we are dealing with.
objectClass:
Set the class of object we are dealing with.
previous:
Answer the previous item (downwards).
stringAsObject:
Answer the given string in object form.
ObjectTransformedStringConverter
An ObjectTransformedStringConverter is xxxxxxxxx.
Instance Variables
transformBlock: <Object>
transformBlock
- xxxxx
initialize
Initialize the receiver.
stringAsObject:
Answer the given string in object form.
transformBlock
Answer the value of transformBlock
transformBlock:
Set the value of transformBlock
PBSoundThemePreferenceView
PreferenceBrowser support for selecting a SoundTheme.
allThemeClasses
Answer the classes that may chosen for the theme.
initialize
Subclasses should redefine this method to perform initializations on instance creation
preferenceName
Answer the label to use for this preference.
unload
PBUIThemePreferenceView
PreferenceBrowser support for selecting a UITheme.
allThemeClasses
Answer the classes that may chosen for the theme.
initialize
Subclasses should redefine this method to perform initializations on instance creation
newRadioButtonFor:
Answer radio button for selecting a theme
preferenceName
Answer the label to use for this preference.
representativeButtonWithColor:inPanel:
Answer the morph for the panel.
uiThemeRadioButtons
Answer a column of butons representing the choices of ui theme
unload
PanelMorph
A container morph that tracks the owner's pane colour unless an explicit fillStyle is specified. Additionally allows hooking of mouseOver events (no button down).
adoptPaneColor:
Change our color too.
defaultBorderWidth
Answer the default border width for the receiver.
defaultColor
Answer the default color for the receiver.
enabled:
Pass on to submorphs.
handleMouseOver:
System level event handling.
initialColorInSystemWindow:
Answer the colour the receiver should be when added to a SystemWindow.
initialize
Initialize the receiver.
mouseOver:
Handle a mouseOver event, meaning the mouse just moved within the receiver
with no button pressed. The default response is to let my eventHandler, if any, handle it.
on:send:to:
Register a recipient for handling an event.
on:send:to:withValue:
Register a recipient for handling an event.
PasswordDialogWindow
A PasswordDialogWindow is xxxxxxxxx.
Instance Variables
newTextEditorMorph
Answer a new morph for the text entry using a password font.
PlainGroupboxMorph
Groupbox without title with a vertical layout. Appears in a lighter colour than the owner's pane colour.
adoptPaneColor:
Change our color too.
initialize
Initialize the receiver.
paneColorOrNil
Answer the window's pane color or nil otherwise.
PluggableDialogWindow
Pluggable form of dialog window supporting custom selector on model for applying changes along with configurable content and buttons.
applyChanges
Apply the changes.
applyChangesSelector
Answer the value of applyChangesSelector
applyChangesSelector:
Set the value of applyChangesSelector
buttons
Answer the value of buttons
buttons:
Set the value of buttons
contentMorph
Answer the value of contentMorph
contentMorph:
Set the value of contentMorph
initialize
Initialize the receiver.
newButtons
Answer the plugged buttons.
newContentMorph
Answer the plugged content.
useDefaultOKButton
Set the buttons to be just an OK button.
Only effective before the model is set.
useDefaultOKCancelButton
Set the buttons to be a default OK button and a cancel button.
Only effective before the model is set.
useOKDefaultCancelButton
Set the buttons to be an OK button and a default cancel button.
Only effective before the model is set.
PluggableIconListMorph
A type of PluggableListMorph that supports a single icon (Form) for items. Useful for lists with icons.
getIconSelector
Answer the value of getIconSelector
getIconSelector:
Set the value of getIconSelector
getList
Answer the list to be displayed. Caches the returned list in the 'list' ivar
getListItem:
get the index-th item in the displayed list
itemMorphFor:
Answer a morph for the object with the appropriate icon.
PluggableMorphListMorph
A type of PluggableListMorph that supports morphs for items. Useful for lists with icons etc.
basicKeyPressed:
extent:
Change listMorph's bounds to the new width. It is either the size
of the widest list item, or the size of self, whatever is bigger
getList
Answer the list to be displayed. Caches the returned list in the 'list' ivar
getListItem:
get the index-th item in the displayed list
hExtraScrollRange
Return the amount of extra blank space to include to the right of the scroll content.
listMorphClass
Answer the class to use for the list morph.
PluggableSliderMorph
A pluggable slider (rather than one that auto-generates access selectors). Needs to be themed...
adoptPaneColor:
Pass on to the border too.
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
defaultColor
Answer the default color/fill style for the receiver.
disable
Disable the receiver.
enable
Enable the receiver.
enabled
Answer the value of enabled
enabled:
Set the value of enabled
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
getValueSelector
Answer the value of getValueSelector
getValueSelector:
Set the value of getValueSelector
handlesMouseDown:
Answer true.
initialize
Initialize the receiver.
initializeSlider
Make the slider raised.
layoutBounds:
Set the bounds for laying out children of the receiver.
Note: written so that #layoutBounds can be changed without touching this method
max
Answer the value of max
max:
Set the value of max
min
Answer the value of min
min:
Set the value of min
minHeight
Answer the receiver's minimum height.
Give it a bit of a chance...
mouseDown:
Set the value directly.
mouseDownInSlider:
Ignore if disabled.
on:getValue:setValue:
Use the given selectors as the interface.
on:getValue:setValue:min:max:quantum:
quantum
Answer the value of quantum
quantum:
Set the value of quantum
scaledValue
Answer the scaled value.
scaledValue:
Set the scaled value.
scrollAbsolute:
Ignore if disabled.
scrollPoint:
Scroll to the event position.
setValue:
Called internally for propagation to model.
setValueSelector
Answer the set selector.
setValueSelector:
Directly set the selector to make more flexible.
sliderColor:
Set the slider colour.
update:
Update the value.
updateEnabled
Update the enablement state.
updateValue
Update the value.
PluggableTextEditorMorph
Multi-line text editor with support for accepting on both each change and/or when keyboard focus changes. Also supports custom selection colour and clickable highlights.
acceptOnFocusChange
Answer whether the editor accepts its contents when it loses the keyboard focus.
acceptOnFocusChange:
Set whether the editor accepts its contents when it loses the keyboard focus.
adoptPaneColor:
Use the theme for fillStyle and border.
alwaysAccept:
Set the always accept flag.
autoAccept
Answer whether the editor accepts its contents on each change.
autoAccept:
Set whether the editor accepts its contents on each change.
Only takes effect after the text is set.
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
disable
Disable the receiver.
drawHighlightsOn:
Draw the highlights.
drawOn:
Draw the highlights.
enable
Enable the receiver.
enabled
Answer whether the receiver is enabled.
enabled:
Set the value of enabled
extent:
Update the gradient.
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
getEnabledSelector
Answer the value of getEnabledSelector
getEnabledSelector:
Set the value of getEnabledSelector
hScrollBarValue:
Trigger an event too.
highlights
Answer the value of highlights
highlights:
Set the value of highlights
initialize
Initialize the receiver.
model:
Update the enablement state too.
scrollBy:
Move the contents in the direction delta.
scrollToTop
Scroll to the top.
selectAll
Tell my textMorph's editor to select all
selectFrom:to:
Tell my textMorph's editor to select the given range.
selectionColor
Answer the colour to use for the text selection.
selectionColor:
Set the colour to use for the text selection.
setText:
Set the auto accept on the text morph.
textExtent
Answer the text morph extent.
textExtent:
If autoFit is on then override to false for the duration of the extent call.
textMorphClass
Answer the class used to create the receiver's textMorph
update:
Refer to the comment in View|update:.
updateEnabled
Update the enablement state.
vScrollBarValue:
Trigger an event too.
wrapFlag
Answer the wrap flag on the text morph.
wrapFlag:
Set the wrap flag on the text morph.
PluggableTextFieldMorph
Single-line text field editor with DialogWindow key integration (return for default, escape for cancel) and keyboard focus navigation (tab/shift-tab). Additionally supports pluggable converters to translate between an object and its string form and vice-versa.
acceptTextInModel
Inform the model that the receiver's textMorph's text should be accepted.
Answer true if the model accepted ok, false otherwise
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
convertTo:
Set the converter object class.
converter
Answer the value of converter
converter:
Set the value of converter
fillStyleToUse
Answer the fillStyle that should be used for the receiver.
getSelection
Answer the model's selection interval.
If not available keep the current selection.
getText
Retrieve the current model text. Set the converter to
convert between the class of the returned object and string form.
handlesMouseWheel:
Do I want to receive mouseWheel events?.
maxLength
Answer the maximum number of characters that may be typed.
maxLength:
Set the maximum number of characters that may be typed.
scrollByKeyboard:
If event is ctrl+up/down then scroll and answer true.
Just don't, really!
scrollSelectionIntoView:
Scroll my text into view if necessary and return true, else return false.
Redone here to deal with horizontal scrolling!
textMorphClass
Answer the class used to create the receiver's textMorph
update:
Update the receiver based on the given aspect.
Override to not accept an #appendText for a text field
since if broadcast by a model it will append to ALL
text fields/editors.
PopupChoiceDialogWindow
Presents a list of options in a popup format. If the list is long it will split into multiple columns. If very long, the columns will be scrollable. Maximum extent of the content area is half the display extent.
activate:
Backstop.
choice
Answer the value of choice
choice:
Set the value of choice
choiceMenus
Answer the value of choiceMenus
choiceMenus:
Set the value of choiceMenus
choicesMorph
Answer the value of choicesMorph
choicesMorph:
Set the value of choicesMorph
choose:
Set the given choice and ok.
deleteIfPopUp:
For compatibility with MenuMorph.
extent:
Make the choices area at least fill the scroll area.
filterMorph
Answer the value of filterMorph
filterMorph:
Set the value of filterMorph
handlesKeyboard:
True when either the filter morph doesn't have the focus and the key
is a text key or backspace or no menus have the focus and is up or down arrow.
initialize
Initialize the receiver.
keyStroke:
Look for a matching item?
labels
Answer the value of labels
labels:
Set the value of labels
lines
Answer the value of lines
lines:
Set the value of lines
newButtons
Answer new buttons as appropriate.
newChoiceButtonFor:
Answer a new choice button.
newChoicesMorph
Answer a row of columns of buttons and separators based on the model.
newContentMorph
Answer a new content morph.
newFilterEntry
Answer a new filter entry field.
newMenuWith:
Answer menu with the given morphs.
prefixFilter
Answer the value of prefixFilter
prefixFilter:
Set the value of prefixFilter
rootMenu
Answer the root menu. Answer self.
scrollPane
Answer the scroll pane.
selectFirstEnabledItem
Select the first enabled item in any of the embedded menus
selectLastEnabledItem
Select the last enabled item in any of the embedded menus
switchToNextColumn
Give the next embedded menu keyboard focus.
switchToPreviousColumn
Give the previous embedded menu keyboard focus.
taskbarIcon
Answer the icon for the receiver in a task bar.
PopupChoiceDialogWindowWithMessage
A PopupChoiceDialogWindowWithMessage is xxxxxxxxx.
Instance Variables
iconMorph: <Object>
message: <Object>
textFont: <Object>
textMorph: <Object>
iconMorph
- xxxxx
message
- xxxxx
textFont
- xxxxx
textMorph
- xxxxx
icon
Answer an icon for the receiver.
iconMorph
Answer the value of iconMorph
iconMorph:
Set the value of iconMorph
initialExtent
Answer the initial extent for the receiver.
Adjust the text if the text would be wider than 1/2 the display width.
message
message:
Open a message dialog.
newContentMorph
Answer a new content morph.
newIconMorph
Answer an icon for the receiver.
newTextMorph
Answer a text morph.
text:
Set the text.
textFont
Answer the text font.
textFont:
Set the text font.
textMorph
Answer the value of textMorph
textMorph:
Set the value of textMorph
ProceedDialogWindow
Yes/no dialog. Test result as to whether the dialog is cancelled (no) or not (yes).
handlesKeyboard:
Return true if the receiver wishes to handle the given keyboard event
icon
Answer an icon for the receiver.
keyStroke:
Additionally check for y and n keys (aliases for ok and cancel).
newButtons
Answer new buttons as appropriate.
no
Answer no.
taskbarIcon
Answer the icon for the receiver in a task bar.
yes
Answer yes.
QuestionDialogWindow
A yes/no/cancel message dialog. Cancel (escape & return) is the default.
answer
Answer the value of answer
answer:
Set the value of answer
newButtons
Answer new buttons as appropriate.
no
Answer no.
yes
Answer yes.
QuestionWithoutCancelDialogWindow
A yes/no message dialog. Yes (return) is the default. Escape will answer no.
escapePressed
Default is to cancel.
newButtons
Answer new buttons as appropriate.
RoundedBorder
Rounded corner border supporting radii of 1-4 pixels. Slower but more flexible than CornerRounder.
cornerRadius
Answer the value of cornerRadius
cornerRadius:
Set the value of cornerRadius
frameRectangle0:on:
Draw the border for a corner radius of 0.
frameRectangle1:on:
Draw the border for a corner radius of 1.
frameRectangle2:on:
Draw the border for a corner radius of 2.
frameRectangle3:on:
Draw the border for a corner radius of 3.
frameRectangle4:on:
Draw the border for a corner radius of 4.
frameRectangle5:on:
Draw the border for a corner radius of 5.
frameRectangle6:on:
Draw the border for a corner radius of 6.
frameRectangle7:on:
Draw the border for a corner radius of 7.
frameRectangle8:on:
Draw the border for a corner radius of 8.
frameRectangle:on:
Draw the border. Radius is the x/y offset not width 'around the corner'.
initialize
Initialize the receiver.
RowLayout
A simple row layout.
flushLayoutCache
Flush any cached information associated with the receiver.
layout:in:
Compute the layout for the given morph based on the new bounds.
Supports submorph hResizing, vResizing, cellInset, cellPositioning
(top, *center, bottom*) and listCentering.
minExtentOf:in:
Return the minimal size aMorph's children would require given the new bounds
SVColorSelectorMorph
A colour selector that displays an area with saturation on the x axis and volume on the y axis. Provides interactive selection of colour by mouse. For the moment it is event rather than model based.
Setting the color will specify the hue and setting the selectedColor will specify the saturation and volume (may have a different hue to that displayed if not in sync).
adoptPaneColor:
Pass on to the border too.
basicColor:
Set the gradient colors.
blackGradient
Answer the black gradient. Top to bottom, transparent to black.
blackGradientMorph
Answer the black gradient morph.
borderWidth:
Update the gradients after setting.
color:
Set the gradient colors.
colorAt:
Answer the color in the world at the given point.
extent:
Update the gradient directions.
fillStyle:
If it is a color then override with gradient.
gradient
Answer the base gradient.
handlesMouseDown:
Yes for down and move..
handlesMouseOverDragging:
Yes, make the location morph visible when leaving.
hideLocation
Hide the location morph and update the display.
initialize
Initialize the receiver.
layoutBounds:
Set the bounds for laying out children of the receiver.
Note: written so that #layoutBounds can be changed without touching this method
locationMorph
Answer the value of locationMorph
locationMorph:
Set the value of locationMorph
mouseDown:
Handle a mouse down event. Select the color at the mouse position.
mouseEnterDragging:
Make the location morph invisible when entering.
mouseLeaveDragging:
Make the location morph visible when leaving.
mouseMove:
Handle a mouse move event. Select the color at the mouse position.
mouseUp:
Handle a up event. Show the location morph again.
newLocationMorph
Answer a new morph indicating the location of the selected color.
selectColorAt:
Set the color at the given position.
selectedColor
Answer the value of selectedColor
selectedColor:
Set the value of selectedColor.
selectedLocation
Answer the location within the receiver of the selected colour
relative to the receiver's top left.
showLocation
Show the location morph and update the display.
updateGradients
Update the gradient directions.
updateSelectedLocation
Position the location morph to indicate the selected colour.
SeparatorMorph
Simple themed separator morph.
adoptPaneColor:
Change our fill too.
SimpleBalloonMorph
A SimpleBalloonMorph is xxxxxxxxx.
Instance Variables
defaultBorderWidth
Answer the default border width for the receiver.
getVertices:
initialize
Initialize the the receiver.
SoundTheme
Groups a set of sounds to use with a UITheme.
Note that, although instances may have their sounds changed the preferences will still indicate the class of theme that is current.
abortSound
Answer the abort sound.
alertSound
Answer the alert sound.
allThemeClasses
beCurrent
current
current:
defaultAbortSound
Answer the default abort sound.
defaultAlertSound
Answer the default alert sound.
defaultDefaultSound
Answer the default default sound!
defaultDenySound
Answer the default deny sound.
defaultMessageSound
Answer the default message sound.
defaultQuestionSound
Answer the default question sound.
defaultSound
Answer the default sound.
defaultWindowCloseSound
Answer the default window close sound.
defaultWindowMaximizeSound
Answer the default window maximize sound.
defaultWindowMinimizeSound
Answer the default window minimize sound.
defaultWindowOpenSound
Answer the default window open sound.
defaultWindowRestoreDownSound
Answer the default window restore down sound.
defaultWindowRestoreUpSound
Answer the default window restore up sound.
denySound
Answer the deny sound.
initialize
Initialize the receiver.
initializeSounds
Initialize the receiver's event sounds.
isAbstract
isCurrent
messageSound
Answer the message sound.
newDefault
questionSound
Answer the question sound.
sounds
Answer the value of sounds
sounds:
Set the value of sounds
themeName
windowCloseSound
Answer the window close sound.
windowMaximizeSound
Answer the window maximize sound.
windowMinimizeSound
Answer the window minimize sound.
windowOpenSound
Answer the window open sound.
windowRestoreDownSound
Answer the window restore down sound.
windowRestoreUpSound
Answer the window restore up sound.
StandardWindow
Themed SystemWindow that avoids being picked up except via the title bar. Supports opening in "fullscreen" mode, taking docking bars into account (not flaps though).
Prevents yellow button menu.
Uses TEasilyThemed for easy theme access to subclasses.
basicIsSticky
Answer the super isSticky.
defaultColor
Answer the default color/fill style for the receiver
defaultLabel
Answer the default label for the receiver.
delete
If fullscreen remove the owner too.
flash
Flash the window.
initialize
Initialize the receiver.
isFullscreen
Answer whether the window should be draw as fullscreen, i.e.
no title bar or borders.
isSticky
Override here to stop the window being grabbed except via title bar.
layoutBounds
Bounds of pane area only.
makeBorderless
Remove the border and border width offsets..
model:
Reset the minimum extent.
mouseMove:
Handle a mouse-move event
newTextEntryFor:getText:setText:help:
Answer a text entry for the given model.
noteNewOwner:
Go fullscreen if needed.
open
Where else would you want to open it?.
openAsIsIn:
Sad fixup for dodgy layout.
openFullscreen
Open the receiver in a FullscreenMorph.
openedFullscreen
Should activate and update the layout.
title
Answer tht window title.
title:
Set the window title.
wantsRoundedCorners
Check to see if the property is set first.
yellowButtonActivity:
Do nothing.
TabGroupMorph
Organises a set of pages sharing the same space and selected through the use of tabs along the top.
addPage:label:
Add a page and its tab.
adoptPaneColor:
Pass on to the content morph a little lighter.
contentMorph
Answer the value of contentMorph
contentMorph:
Set the value of contentMorph
cornerStyle:
Pass on to selector and content too.
font
Answer the label font
font:
Set the label font
fullDrawOn:
Patch up the selected tab visuals if required.
initialize
Initialize the receiver.
labelsAndPages:
Replace the tabs and the associated pages.
minExtent
Calculate the min extent of the receiver based on all pages.
newContentMorph
Answer a new content morph
newTabSelectorMorph
Answer a new tab selector morph
page
Answer the current page morph if any.
pageMorph
Answer the current page morph if any.
pageMorphs
Answer the value of pageMorphs
pageMorphs:
Set the value of pageMorphs
pages
Answer the pages.
paneColorOrNil
Answer the window's pane color or nil otherwise.
selectedPageIndex
Answer the selected page index.
selectedPageIndex:
Set the selected page index.
selectedTabBounds
tabSelectorMorph
Answer the value of tabSelectorMorph
tabSelectorMorph:
Set the value of tabSelectorMorph
themeChanged
Update the corner style.
update:
Handle tab changes.
updatePageIndex:
Change to the given page index.
TabLabelMorph
Specially themed label used for tab selector items.
adoptPaneColor:
Use the theme for fillStyle and border.
borderStyleToUse
Answer the borderStyle that should be used for the receiver.
fillStyleToUse
Answer the basic fill style for the receiver.
focusBounds
Answer the bounds for drawing the focus indication.
initialize
Initialize the receiver.
isSelected
Answer whether the tab is selected.
minWidth
Consult the theme also.
normalFillStyle
Return the normal fillStyle of the receiver.
selectedFillStyle
Return the selected fillStyle of the receiver.
TabPanelBorder
Specialist border for a TabGroup panel. Does not draw border beneath selected tab.
frameRectangle:on:
Draw the border taking the currently selected tab into account.
Only works for top-positioned tabs for the moment.
selectedTab
Answer the currently selected tab.
style
Answer #tabbed.
tabSelector
Answer the value of tabSelector
tabSelector:
Set the value of tabSelector
TabSelectorMorph
Row of tabs for a TabGroupMorph.
addTab:
Add a new tab with the given text.
basicMinExtent
Anwer the unadjusted min extent.
cornerStyle:
Pass to tabs also.
drawSubmorphsOn:
Display submorphs back to front.
Draw the focus here since we are using inset bounds
for the focus rectangle.
focusBounds
Answer the bounds for drawing the focus indication.
font
Answer the label font
font:
Set the label font
handlesKeyboard:
Yes, we do it here.
initialize
Initialize the receiver.
keyStroke:
Process keys navigation and space to toggle.
keyboardFocusChange:
The message is sent to a morph when its keyboard focus changes.
Update for focus feedback.
minExtent
Add a bit for the round corner of the group.
newLabelMorph:
Answer a new label morph with the given label text.
selectNextTab
Select the next tab, or the first if none selected.
selectPreviousTab
Select the previous tab, or the last if none selected.
selectedIndex
Answer the value of selectedIndex
selectedIndex:
Set the value of selectedIndex
selectedTab
Answer the selected tab.
tabClicked:with:
A tab has been clicked.
tabs
Answer the tabs.
takesKeyboardFocus
Answer whether the receiver can normally take keyboard focus.
updateFont
Update the label font.
TaskbarMorph
Themed synchronous taskbar (not using #step to poll windows). The buttons provide visual feedback as to whether a window is active or minimised (collapsed) plus a popup menu with options to restore, minimise, maximise and close the associated window. Optional (via Preferences) preview of the window while mouse is over a taskbar button.
See the preference browser (PreferenceBrowser open) under "docking bars" for options.
buttonForMorph:
Answer the button corresonding to the given
morph or nil if none.
edgeToAdhereTo
Must implement. Answer #bottom.
handlesMouseDown:
Best to say we will to avoid being grabbed.
indicateModalChildForMorph:
Flash the button corresonding to the given morph .
initialize
Initialize the receiver.
initializeAppearance
Initialize the appearance.
initializeLayout
Initialize the layout.
intoWorld:
Stick to the bottom left now.
isAdheringToBottom
Must implement. Answer true.
isAdheringToLeft
Must implement. Answer false.
isAdheringToRight
Must implement. Answer false.
isAdheringToTop
Must implement. Answer false.
isDockingBar
Answer yes so we get updated when the Display is resized.
isTaskbar
Answer true.
minimumExtent
Answer the minimum extent.
morphicLayerNumber
Helpful for ensuring some morphs always appear in front of or
behind others. Smaller numbers are in front
orderedTasks
Answer the value of orderedTasks
orderedTasks:
Set the value of orderedTasks
ownerChanged
The receiver's owner has changed its layout.
Since this method is called synchronously in the
ui, delete the receiver if there are any excpetions.
preferredButtonCornerStyle
Answer the preferred button corner style
for submorphs.
removeFromWorld
Delete the receiver from its world after restoring minimized tasks.
Collapse those that were minimized after removal.
Turn window animation off for the duration.
reset
showTaskbarPreferenceChanged
taskButtonOf:
Answer the task button of the given morph or nil if none.
taskOf:
Answer the task of the given morph or nil if none.
tasks
Answer the value of tasks
tasks:
Set the value of tasks
themeChanged
The theme has changed. Update our appearance.
updateBounds
Update the receiver's bounds to fill the world.
updateTaskButtons
Make buttons for the ordered tasks.
updateTasks
Check for changes in the world's submorphs.
Note that if the task attributes change then a
task will be considered dead along with a new replacement.
wantsToBeTopmost
Answer if the receiver want to be one of the topmost
objects in its owner.
worldMorphs
Answer the world's submorphs plus those in hand.
Nasty case since hand removes the morph before dropping
TaskbarTask
Holds the state of a taskbar/tasklist entry.
=
Answer whether equal.
activate
Activate the task.
buttonClickedForTasklist:
Notify the tasklist.
hash
Hash is implemented because #= is implemented.
icon
Answer the value of icon
icon:
Set the value of icon
isActive
Answer whether the task is active.
isMinimized
Answer whether the task is minimized.
label
Answer the value of label
label:
Set the value of label
morph
Answer the value of morph
morph:
Set the value of morph
morph:state:icon:label:
state
Answer the value of state
state:
Set the value of state
taskbarButtonFor:
Answer a button for the task.
tasklistButtonFor:
Answer a button for the task.
TasklistMorph
Themed task list/switcher to select the topmost window. Use cmd + left or right arrows (not ideal but the os typically handles cmd + tab/shift-tab).
On Linux, release of the command key is not detected (vm issue), so press and release cmd again or move the mouse!
activeTask
Answer the active task
addMorphs
Add our morphs.
defaultPreviewExtent
Answer the default extent of the preview holder.
done
Close the tasklist and make the active task current.
handlesKeyboard:
Yes, we do it here.
initialize
Initialize the receiver.
initializeAppearance
Initialize the appearance.
initializeLayout
Initialize the layout.
initializeTasks
Set up the current tasks.
keyStroke:
Process keys to switch task.
minimumExtent
Answer the minimum extent.
newPreviewMorph
Answer a new preview holder.
newTasksMorph
Answer a new task list.
openAsIs
Open in the world.
openAsIsIn:
Update the layout after opening.
preview
Answer the value of preview
preview:
Set the value of preview
selectNextTask
Make the next task active.
selectPreviousTask
Make the previous task active.
selectTask:
Make the given task active and update the buttons.
step
Check the sensor for the command key to see if we're done.
stepTime
Check quickly.
takesKeyboardFocus
Answer whether the receiver can normally take keyboard focus.
taskClicked:
A button for a task has been pressed.
Close after selecting.
taskList
Answer the value of taskList
taskList:
Set the value of taskList
tasks
Answer the value of tasks
tasks:
Set the value of tasks
updateButtonsAndPreview
Update the buttons and the preview..
updatePreview
Update the preview..
updateTaskButtons
Make buttons for the ordered tasks.
TextEditorDialogWindow
Multi-line text entry dialog.
cancel
Cancel and close.
defaultFocusMorph
Answer the morph that should have the keyboard
focus by default when the dialog is opened.
entryHeight:
Set the height of the text editor morph.
Set the width to be 2 times this also.
entryText
Answer the value of entryText
entryText:
Set the value of entryText
icon
Answer an icon for the receiver.
initialize
Initialize the receiver.
newButtons
Answer new buttons as appropriate.
newContentMorph
Answer a new content morph.
newTextEditorMorph
Answer a new text entry morph.
taskbarIcon
Answer the icon for the receiver in a task bar.
textEditorMorph
Answer the value of textEditorMorph
textEditorMorph:
Set the value of textEditorMorph
TextEntryDialogWindow
Single-line text entry dialog.
newButtons
Answer new buttons as appropriate.
newTextEditorMorph
Answer a new text entry morph.
TextHighlight
Definition of a clickable highlighted range of text with optional borders.
borderColor
Answer the value of borderColor
borderColor:
Set the value of borderColor
borderSides
Answer the value of borderSides
borderSides:
Set the value of borderSides
borderWidth
Answer the value of borderWidth
borderWidth:
Set the value of borderWidth
bounds
Answer the value of bounds
bounds:
Set the value of bounds
clicked:
The receiver has had a mouse down.
color
Answer the value of color
color:
Set the value of color
containsPoint:in:
Answer whther the bounds contain the given (local coordinate) point.
drawOn:in:offset:
Draw the highlight on the given canvas for the given rectangle.
fillWidth
Answer the value of fillWidth
fillWidth:
Set the value of fillWidth
initialize
Initialize the receiver.
lineNumber
Answer the first in the line range.
lineRange
Answer the value of lineRange
lineRange:
Set the value of lineRange
position
Answer the bounds top left.
position:
Set the bounds top left.
TextMorphForEditorView
Multi-line text editor with support for accepting on both each change and/or when keyboard focus changes. Also supports custom selection colour and clickable highlights From PluggableTextEditorMorph.
acceptOnFocusChange
Answer the value of acceptOnFocusChange
acceptOnFocusChange:
Set the value of acceptOnFocusChange
autoAccept
Answer the value of autoAccept
autoAccept:
Set the value of autoAccept
basicKeyStroke:
Do the key stroke and check to see if it should be accepted.
initialize
Initialize the receiver.
keyStroke:
Don't allow editing keys if the edit view is disabled.
keyboardFocusChange:
If we are losing focus and have acceptOnFocusChange then accept.
mouseDown:
Pass to any highlight too.
paragraph
Answer the paragraph.
paragraphClass
Answer an appropriate paragraph class.
selectionColor
Answer the colour to use for the text selection.
selectionColor:
Set the colour to use for the text selection.
TextMorphForFieldView
Single-line text field editor with DialogWindow key integration (return for default, escape for cancel) and keyboard focus navigation (tab/shift-tab).
basicKeyStroke:
Do the key if max length has not been reached.
Don't allow tabs.
isEditEvent:
Answer whether the given event is a key stroke that
should be allowed despite the max length.
keyboardFocusChange:
If we are losing focus and have acceptOnFocusChange then accept.
localHandleKeystroke:
Answer whether we locally handle the keyStroke event.
Disregard tabs for now.
maxLength
Answer the value of maxLength
maxLength:
Set the value of maxLength
minExtent
Overridden to allow text to shrink to minimum extent rather than being (incorrectly)
treated as rigid. Should be the same for other morphs too. Bah!
minHeight
Answer the height of one line.
minWidth
Answer the minimum width.
minimumExtent
Use the actual paragraph line to take font changes into account.
mouseMove:
Allow auto scroll in any direction.
Something else is preventing the left/right case.
paragraph
Paragraph instantiation is lazy -- create it only when needed.
Don't adjust rightX (as in TexMorph>>paragraph)
since wrapFlag must be false for layout to work.
TextStyleFontSelectorDialogWindow
A TextStyleFontSelectorDialogWindow is xxxxxxxxx.
Instance Variables
defaultFontFamilies
Answer the set of available fonts families that are supported as Text objects
in the font that they represent. Only includes FreeTypeFont/TTCFont.
matchingFont
Answer the font that matches the selections.
updateFromSelectedFont
Update our state based on the selected font.
ThemeIcons
Some extra icons in the vein of MenuIcons.
backspaceArrowIcon
backspaceArrowIconContents
base64ContentsOfFileNamed:
clearIcons
createIconMethodsFromDirectory:
downArrowIcon
downArrowIconContents
errorIcon
errorIconContents
infoIcon
infoIconContents
initialize
Subclasses should redefine this method to perform initializations on instance creation
initializeIcons
lockIcon
lockIconContents
normalSizeNames
questionIcon
questionIconContents
smallBarcodeIcon
smallBarcodeIconContents
smallBoldIcon
smallBoldIconContents
smallErrorIcon
smallErrorIconContents
smallHierarchyBrowserIcon
smallHierarchyBrowserIconContents
smallInfoIcon
smallInfoIconContents
smallItalicIcon
smallItalicIconContents
smallLockIcon
smallLockIconContents
smallPushpinIcon
smallPushpinIconContents
smallQuestionIcon
smallQuestionIconContents
smallSizeNames
smallStrikeOutIcon
smallStrikeOutIconContents
smallSystemBrowserIcon
smallSystemBrowserIconContents
smallUnderlineIcon
smallUnderlineIconContents
smallWarningIcon
smallWarningIconContents
upArrowIcon
upArrowIconContents
warningIcon
warningIconContents
ThemeSettings
Configurable basic settings for themes.
applySettingsFrom:
Change the settings to be those of aThemeSettings.
autoSelectionColor
Answer the value of autoSelectionColor
autoSelectionColor:
Set the value of autoSelectionColor
basicSelectionColor
Answer the recorded selection color rather than derived.
buttonColor
Answer the value of buttonColor
buttonColor:
Set the value of buttonColor
defaultButtonColor
Answer the default button colour.
defaultScrollbarColor
Answer the default scrollbar colour.
defaultSelectionColor
Answer the default selection colour.
defaultWindowColor
Answer the default window colour.
derivedSelectionColor
Answer a selection colour based on the window color.
fromConfiguration:
Update the settings from the given tree.
initialize
Initialize the receiver.
manualSelectionColor
Answer the inverse of autoSelectionColor.
menuColor
Answer the value of menuColor
menuColor:
Set the value of menuColor
menuTitleColor
Answer the value of menuTitleColor
menuTitleColor:
Set the value of menuTitleColor
progressBarColor
Answer the value of progressBarColor
progressBarColor:
Set the value of progressBarColor
progressBarProgressColor
Answer the value of progressBarProgressColor
progressBarProgressColor:
Set the value of progressBarProgressColor
scrollbarColor
Answer the value of scrollbarColor
scrollbarColor:
Set the value of scrollbarColor
selectionColor
Answer the value of selectionColor
selectionColor:
Set the value of selectionColor
standardColorsOnly
Answer the value of standardColorsOnly
standardColorsOnly:
Set the value of standardColorsOnly
toConfiguration:
Update the tree from the receiver.
windowColor
Answer the value of windowColor
windowColor:
Set the value of windowColor
ToggleMenuItemMorph
A menu item that supports on/off state (using standard icons), enablement and display of "accelerator" key text.
adjacentTo
Adjusted to line up more nicely.
adoptPaneColor:
Pass on to submenu too.
basicDrawOn:
Draw on the canvas. Taken from MenuItemMorph for minor refactoring.
drawIcon:on:in:
Draw the icon on the canvas within the given bounds.
drawKeyTextOn:
Draw the key text on the canvas.
drawOn:
Need to check isEnabled here.
drawSubMenuMarker:on:in:
Draw the submenu marker on the canvas within the given bounds.
drawText:on:in:
Draw the text on the canvas within the given bounds.
enablementSelector
Answer the value of enablementSelector
enablementSelector:
Set the value of enablementSelector
getStateSelector
Answer the value of getStateSelector
getStateSelector:
Set the value of getStateSelector
icon
Answer the receiver's icon. Handle legacy case
of wording-based mechanism.
isEnabled
Answer whether the item is enabled.
isEnabled:
keyText
Answer the value of keyText
keyText:
Set the value of keyText
minWidth
Plus the key text if any.
mouseEnter:
The mouse entered the receiver.
Handle the case when in an EmbeddedMenuMorph.
mouseLeave:
The mouse left the receiver.
Handle the case when in an EmbeddedMenuMorph.
offIcon
Answer the off icon.
offImage
Return the form to be used for indicating an '<off>' marker.
onIcon
Answer the on icon.
onImage
Return the form to be used for indicating an '<on>' marker.
select:
Don't if not enabled.
selectionBorderStyle
Answer the border style to use with the receiver is the selected element.
selectionFillStyle
Answer the fill style to use with the receiver is the selected element.
selectionTextColor
Answer the color to use for text when selected.
stringBoundsToUse
Answer the bounds to use when drawing the item text.
stringColorToUse
Answer the state dependent color to use for drawing text.
ToolDockingBarMorph
A non user-moveable docking bar that uses theme-based fill styles.
gradientRamp
If not set answer based on orininal color.
normalFillStyle
Return the normal fillStyle of the receiver.
updateColor
private - update the receiver's color
wantsYellowButtonMenu
Answer true if the receiver wants a yellow button menu.
TEasilyThemed
Trait providing useful theme-related methods.
abort:
Open an error dialog.
abort:title:
Open an error dialog.
alert:
Open an alert dialog.
alert:title:
Open an alert dialog.
alert:title:configure:
Open an alert dialog.
Configure the dialog with the 1 argument block
before opening modally.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
chooseColor
Answer the result of a color selector dialog .
chooseColor:
Answer the result of a color selector dialog with the given color.
chooseColor:title:
Answer the result of a color selector dialog with the given title and initial colour.
chooseDirectory:
Answer the result of a file dialog with the given title, answer a directory.
chooseDirectory:path:
Answer the result of a file dialog with the given title, answer a directory.
chooseDropList:list:
Open a drop list chooser dialog.
chooseDropList:title:list:
Open a drop list chooser dialog.
chooseFileName:extensions:path:preview:
Answer the result of a file name chooser dialog with the given title, extensions
to show, path and preview type.
chooseFont
Answer the result of a font selector dialog.
chooseFont:
Answer the result of a font selector dialog with the given initial font.
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
deny:
Open a denial dialog.
deny:title:
Open a denial dialog.
environment
environment:
fileOpen:
Answer the result of a file open dialog with the given title.
fileOpen:extensions:
Answer the result of a file open dialog with the given title and extensions to show.
fileOpen:extensions:path:
Answer the result of a file open dialog with the given title, extensions to show and path.
fileOpen:extensions:path:preview:
Answer the result of a file open dialog with the given title, extensions to show, path and preview type.
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
fileSave:
Answer the result of a file save dialog with the given title.
fileSave:extensions:
Answer the result of a file save dialog with the given title.
fileSave:extensions:path:
Answer the result of a file save dialog with the given title, extensions to show and path.
fileSave:path:
Answer the result of a file save open dialog with the given title.
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
longMessage:title:
Open a (long) message dialog.
message:
Open a message dialog.
message:title:
Open a message dialog.
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newAlphaImage:help:
Answer an alpha image morph.
newAlphaSelector:getAlpha:setAlpha:help:
Answer an alpha channel selector with the given selectors.
newAutoAcceptTextEditorFor:getText:setText:getEnabled:
Answer a text editor for the given model.
newAutoAcceptTextEntryFor:get:set:class:getEnabled:font:help:
Answer a text entry for the given model.
newAutoAcceptTextEntryFor:get:set:class:getEnabled:help:
Answer a text entry for the given model.
newAutoAcceptTextEntryFor:getText:setText:getEnabled:font:help:
Answer a text entry for the given model.
newAutoAcceptTextEntryFor:getText:setText:getEnabled:help:
Answer a text entry for the given model.
newBalloonHelp:for:
Answer a new balloon help with the given contents for aMorph
at a given corner.
newBalloonHelp:for:corner:
Answer a new balloon help with the given contents for aMorph
at a given corner.
newBracketSliderFor:getValue:setValue:min:max:quantum:getEnabled:help:
Answer a bracket slider with the given selectors.
newBracketSliderFor:getValue:setValue:min:max:quantum:help:
Answer a bracket slider with the given selectors.
newButtonFor:action:getEnabled:label:help:
Answer a new button.
newButtonFor:action:label:help:
Answer a new button.
newButtonFor:getState:action:arguments:getEnabled:getLabel:help:
Answer a new button.
newButtonFor:getState:action:arguments:getEnabled:label:help:
Answer a new button.
newButtonFor:getState:action:arguments:getEnabled:labelForm:help:
Answer a new button.
newCancelButton
Answer a new cancel button.
newCancelButtonFor:
Answer a new cancel button.
newCheckboxFor:getSelected:setSelected:getEnabled:label:help:
Answer a checkbox with the given label.
newCheckboxFor:getSelected:setSelected:label:help:
Answer a checkbox with the given label.
newCloseButton
Answer a new close button.
newCloseButtonFor:
Answer a new close button.
newColorChooserFor:getColor:setColor:getEnabled:help:
Answer a color chooser with the given selectors.
newColorChooserFor:getColor:setColor:help:
Answer a color chooser with the given selectors.
newColorPickerFor:getter:setter:
Answer a new color picker for the given morph and accessors.
newColorPresenterFor:getColor:help:
Answer a color presenter with the given selectors.
newColumn:
Answer a morph laid out with a column of controls.
newDialogPanel
Answer a new main dialog panel.
newDropListFor:list:getSelected:setSelected:getEnabled:help:
Answer a drop list for the given model.
newDropListFor:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a drop list for the given model.
newDropListFor:list:getSelected:setSelected:help:
Answer a drop list for the given model.
newEmbeddedMenu
Answer a new menu.
newExpander:
Answer an expander with the given label.
newExpander:for:
Answer an expander with the given label and control.
newExpander:forAll:
Answer an expander with the given label and controls.
newFuzzyLabel:
Answer a new fuzzy label.
newFuzzyLabelFor:label:getEnabled:
Answer a new fuzzy label.
newFuzzyLabelFor:label:offset:alpha:getEnabled:
Answer a new fuzzy label.
newGroupbox
Answer a plain groupbox.
newGroupbox:
Answer a groupbox with the given label.
newGroupbox:for:
Answer a groupbox with the given label and control.
newGroupbox:forAll:
Answer a groupbox with the given label and controls.
newGroupboxFor:
Answer a plain groupbox with the given control.
newGroupboxForAll:
Answer a plain groupbox with the given controls.
newHSVASelector:help:
Answer a hue-saturation-volume selector with the given color.
newHSVSelector:help:
Answer a hue-saturation-volume selector with the given color.
newHueSelector:getHue:setHue:help:
Answer a hue selector with the given selectors.
newImage:
Answer a new image.
newImage:size:
Answer a new image.
newIncrementalSliderFor:getValue:setValue:min:max:quantum:getEnabled:help:
Answer an inremental slider with the given selectors.
newLabel:
Answer a new text label.
newLabelFor:label:getEnabled:
Answer a new text label.
newLabelGroup:
Answer a morph laid out with a column of labels and a column of associated controls.
newLabelGroup:font:labelColor:
Answer a morph laid out with a column of labels and a column of associated controls.
newLabelGroupSpread:
Answer a morph laid out with a column of labels and a column of associated controls.
newListFor:list:selected:changeSelected:getEnabled:help:
Answer a list for the given model.
newListFor:list:selected:changeSelected:help:
Answer a list for the given model.
newMenu
Answer a new menu.
newMenuFor:
Answer a new menu.
newMorphDropListFor:list:getSelected:setSelected:getEnabled:help:
Answer a morph drop list for the given model.
newMorphDropListFor:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a morph drop list for the given model.
newMorphDropListFor:list:getSelected:setSelected:help:
Answer a morph drop list for the given model.
newMorphListFor:list:getSelected:setSelected:getEnabled:help:
Answer a morph list for the given model.
newMorphListFor:list:getSelected:setSelected:help:
Answer a morph list for the given model.
newNoButton
Answer a new No button.
newNoButtonFor:
Answer a new No button.
newOKButton
Answer a new OK button.
newOKButtonFor:
Answer a new OK button.
newOKButtonFor:getEnabled:
Answer a new OK button.
newPanel
Answer a new panel.
newPluggableDialogWindow
Answer a new pluggable dialog.
newPluggableDialogWindow:
Answer a new pluggable dialog with the given content.
newPluggableDialogWindow:for:
Answer a new pluggable dialog with the given content.
newRadioButtonFor:getSelected:setSelected:getEnabled:label:help:
Answer a checkbox (radio button appearance) with the given label.
newRadioButtonFor:getSelected:setSelected:label:help:
Answer a checkbox (radio button appearance) with the given label.
newRow
Answer a morph laid out as a row.
newRow:
Answer a morph laid out with a row of controls.
newSVSelector:help:
Answer a saturation-volume selector with the given color.
newSeparator
Answer an horizontal separator.
newSliderFor:getValue:setValue:getEnabled:help:
Answer a slider with the given selectors.
newSliderFor:getValue:setValue:help:
Answer a slider with the given selectors.
newSliderFor:getValue:setValue:min:max:quantum:getEnabled:help:
Answer a slider with the given selectors.
newString:
Answer a new embossed string.
newString:font:style:
Answer a new embossed string.
newString:style:
Answer a new embossed string.
newTabGroup:
Answer a tab group with the given tab labels associated with pages.
newTemplateIn:
newText:
Answer a new text.
newTextEditorFor:getText:setText:
Answer a text editor for the given model.
newTextEditorFor:getText:setText:getEnabled:
Answer a text editor for the given model.
newTextEntryFor:get:set:class:getEnabled:help:
Answer a text entry for the given model.
newTextEntryFor:getText:setText:getEnabled:help:
Answer a text entry for the given model.
newTextEntryFor:getText:setText:help:
Answer a text entry for the given model.
newTitle:for:
Answer a morph laid out with a column with a title.
newToolDockingBar
Answer a tool docking bar.
newToolSpacer
Answer a tool spacer.
newToolbar
Answer a toolbar.
newToolbar:
Answer a toolbar with the given controls.
newToolbarHandle
Answer a toolbar handle.
newTreeFor:list:selected:changeSelected:
Answer a new tree morph.
newVerticalSeparator
Answer a vertical separator.
newYesButton
Answer a new Yes button.
newYesButtonFor:
Answer a new yes button.
obsolete
proceed:
Open a proceed dialog.
proceed:title:
Open a proceed dialog and answer true if not cancelled, false otherwise.
question:
Open a question dialog.
question:title:
Open a question dialog and answer true if yes,
false if no and nil if cancelled.
questionWithoutCancel:
Open a question dialog.
questionWithoutCancel:title:
Open a question dialog and answer true if yes,
false if no and nil if cancelled.
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
textEntry:
Open a text entry dialog.
textEntry:title:
Open a text entry dialog.
textEntry:title:entryText:
Open a text entry dialog.
theme
Answer the ui theme that provides controls.
variablesAndOffsetsDo:
TEnableOnHaloMenu
Trait providing an "enabled" option on the halo menu.
addToggleItemsToHaloMenu:
Add toggle-items to the halo menu
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
enabled
Answer the enabled state of the receiver.
enabled:
Set the enabled state of the receiver.
enabledString
Answer the string to be shown in a menu to represent the
'enabled' status
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
toggleEnabled
Toggle the enabled state.
variablesAndOffsetsDo:
TransformWithLayoutMorph
A transform morph that allows the use of a layout policy to arrange submorphs.
doLayoutIn:
Compute a new layout based on the given layout bounds.
fullBounds
Do the ordinary thing. See comment in superclass.
TreeListMorph
A SimpleHierarchicalListMorph subclass supporting alternative fonts for all items.
addSubmorphsAfter:fromCollection:allowSorting:
Update the font on each morph.
font
Answer the value of font
font:
Set the value of font
insertNewMorphs:
Update the font on each morph.
layoutBounds:
Set the bounds for laying out children of the receiver.
Update the scroller and scrollbars now since bounds set directly
(not via #extent:).
UITheme
Common superclass for User Interface themes. Provides methods for creating new morphs in a standard way, various "services" like a file dialog, message dialogs etc. and also methods for customising aspects of the appearance of various morphs.
Though conceptually abstract, no code is "missing". Subclasses, therefore, should override the aspects they wish to change.
UITheme exampleBasicControls
UITheme exampleBuilder
UITheme exampleColorControls
UITheme exampleDialogs
UITheme exampleGroups
UITheme exampleOtherControls
UITheme exampleWindowWithToolbars
abortIn:text:title:
Answer the result of an error dialog (true) with the given label and title.
abortSound
Answer the abort sound.
alertIn:text:title:configure:
Answer the result of an alert dialog (true) with the given label and title.
alertSound
Answer the alert sound.
allThemeClasses
beCurrent
builder
buttonColorFor:
Answer the colour for the given button.
buttonCornerStyleIn:
Allow for themes to override default behaviour.
buttonDisabledBorderStyleFor:
Return the disabled button borderStyle for the given button.
buttonDisabledFillStyleFor:
Return the disabled button fillStyle for the given color.
buttonFocusBoundsFor:
Answer the bounds for drawing the focus indication for the
given button.
buttonFocusIndicatorCornerRadiusFor:
Answer the default corner radius preferred for the focus indicator
for the button for themes that support this.
buttonFont
Answer the button font to use.
buttonLabelFor:
Answer the label to use for the given button.
buttonLabelForText:
Answer the label to use for the given text.
buttonLabelInsetFor:
Answer the inset to use for a button's label.
buttonMinHeight
Answer the minumum height of a button for this theme.
buttonMinWidth
Answer the minumum width of a button for this theme.
buttonMouseOverBorderStyleFor:
Return the mouse over button borderStyle for the given button.
buttonMouseOverFillStyleFor:
Return the button mouse over fillStyle for the given color.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given button.
buttonPanelNormalFillStyleFor:
Return the normal panel fillStyle for the given panel.
buttonPressedBorderStyleFor:
Return the pressed button borderStyle for the given button.
buttonPressedFillStyleFor:
Return the button pressed fillStyle for the given color.
buttonPressedLabelInsetFor:
Answer the inset to use for a button's label when pressed.
buttonSelectedBorderStyleFor:
Return the selected button borderStyle for the given button.
buttonSelectedDisabledBorderStyleFor:
Return the selecteddisabled button borderStyle for the given button.
buttonSelectedDisabledFillStyleFor:
Return the button selected disabled fillStyle for the given color.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given color.
buttonSelectedMouseOverBorderStyleFor:
Return the selected mouse over button borderStyle for the given button.
buttonSelectedMouseOverFillStyleFor:
Return the button selected mouse over fillStyle for the given color.
buttonSelectedPressedBorderStyleFor:
Return the selected pressed button borderStyle for the given button.
buttonSelectedPressedFillStyleFor:
Return the button selected pressed fillStyle for the given color.
checkboxButtonDisabledBorderStyleFor:
Return the disabled checkbox button borderStyle for the given button.
checkboxButtonDisabledFillStyleFor:
Return the disabled checkbox button fillStyle for the given button.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonNormalFillStyleFor:
Return the normal checkbox button fillStyle for the given button.
checkboxButtonSelectedBorderStyleFor:
Return the selected checkbox button borderStyle for the given button.
checkboxButtonSelectedDisabledBorderStyleFor:
Return the selected disabled checkbox button borderStyle for the given button.
checkboxButtonSelectedDisabledFillStyleFor:
Return the selected disabled checkbox button fillStyle for the given button.
checkboxButtonSelectedFillStyleFor:
Return the selected checkbox button fillStyle for the given button.
checkboxCornerStyleFor:
Answer the corner style for checkbox buttons.
checkboxLabelFor:
Answer the label to use for the given checkbox.
checkboxLabelForText:
Answer the label to use for the given text.
checkboxMarkerForm
Answer the form to use for a checkbox marker.
chooseColorIn:title:color:
Answer the result of a color selector dialog with the given title and initial color.
chooseDirectoryIn:title:path:
Answer the result of a file dialog with the given title, choosing directories only.
chooseDropListIn:text:title:list:
Answer the result of a drop list chooser with the given label, title and list.
chooseFileIn:title:extensions:path:preview:
Answer the result of a file open dialog with the given title, extensions path and preview type.
Answer nil or a filename.
chooseFileNameIn:title:extensions:path:preview:
Answer the result of a file name chooser dialog with the given title, extensions
path and preview type.
Answer nil or a filename.
chooseFontIn:title:font:
Answer the result of a font selector dialog with the given title and initial font.
chooseIn:title:labels:values:lines:
Answer the result of a popup choice with the given title, labels, values and lines.
chooseIn:title:message:labels:values:lines:
Answer the result of a popup choice with the given title, labels, values and lines.
closeExampleDialogs
configureDialogWindowLabelAreaFrameFor:
Configure the layout frame for the label area for the given dialog window.
configureWindowBorderFor:
Configure the border for the given window.
configureWindowDropShadowFor:
Configure the drop shadow for the given window.
configureWindowLabelAreaFor:
Configure the label area for the given window.
configureWindowLabelAreaFrameFor:
Configure the layout frame for the label area for the given window.
controlButtonDisabledBorderStyleFor:
Return the disabled control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonDisabledFillStyleFor:
Return the disabled control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonLabelInsetFor:
Answer the inset to use for a control button's label.
controlButtonMouseOverBorderStyleFor:
Return the mouse over control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonMouseOverFillStyleFor:
Return the mouse over control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonNormalBorderStyleFor:
Return the normal control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonNormalFillStyleFor:
Return the normal control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonPressedBorderStyleFor:
Return the pressed control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonPressedFillStyleFor:
Return the pressed button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedDisabledBorderStyleFor:
Return the selected disabled control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedDisabledFillStyleFor:
Return the selected disabled control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedFillStyleFor:
Return the selected control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedMouseOverBorderStyleFor:
Return the selected mouse over control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedMouseOverFillStyleFor:
Return the selected mouse over control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedPressedBorderStyleFor:
Return the selected pressed control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedPressedFillStyleFor:
Return the selected pressed button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
createCloseBoxFor:
Answer a button for closing the window.
createCollapseBoxFor:
Answer a button for minimising the window.
createExpandBoxFor:
Answer a button for maximising/restoring the window.
createMenuBoxFor:
Answer a button for the window menu.
current
current:
customQuestionIn:text:yesText:noText:title:
Answer the result of a question dialog with the given label, button labels and title.
defaultButtonBorderColor
Answer the color to use for a 'default' button.
defaultMenuColor
Answer the default color to use for a menu
in the absence of an override in settings.
defaultMenuTitleColor
Answer the default color to use for a menu title
in the absence of an override in settings.
defaultSettings
Answer the default settings.
defaultSettings:
defaultSoundTheme
Answer the default sound theme.
Answer the system sound theme by default.
denyIn:text:title:
Answer the result of an deny dialog (true) with the given label and title.
denySound
Answer the deny sound.
desktopFillStyleFor:
Answer the desktop fill style for the given world.
Answer nil for no change.
dialogWindowActiveFillStyleFor:
Return the dialog window active fillStyle for the given window.
dialogWindowInactiveFillStyleFor:
Return the dialog window inactive fillStyle for the given window.
dialogWindowPreferredCornerStyleFor:
Answer the preferred corner style for the given dialog.
disabledItemStyle
Answer either #plain or #inset to determine how
diabled text is drawn.
dockingBarNormalFillStyleFor:
Return the normal docking bar fillStyle for the given color.
drawTabGroupFinishingFor:on:
Patch up any visuals for the selected tab.
drawTextAdornmentFor:color:on:
Indicate edit status for the given morph.
drawTextAdornmentsFor:on:
Indicate edit status for the given morph.
drawWindowActiveDropShadowFor:on:
Draw the active drop shadow for the given window.
drawWindowDiffuseDropShadowFor:on:
Draw the diffuse drop shadow for the given window.
drawWindowInactiveDropShadowFor:on:
Draw the inactive drop shadow for the given window.
drawWindowPlainDropShadowFor:on:
Draw the plain drop shadow for the given window.
dropListButtonLabelFor:
Answer the label for the button of the given drop list.
dropListControlButtonWidth
Answer the width of a drop list control button for this theme.
dropListDisabledBorderStyleFor:
Return the disabled borderStyle for the given drop list.
dropListDisabledFillStyleFor:
Return the disabled fillStyle for the given drop list.
dropListFocusBoundsFor:
Answer the bounds for drawing the focus indication for the
given drop list.
dropListFocusIndicatorCornerRadiusFor:
Answer the default corner radius preferred for the focus indicator
for the drop list for themes that support this.
dropListFont
Answer the drop list font to use.
dropListInsetFor:
Answer the inset to use for drop-list layout.
dropListNormalBorderStyleFor:
Return the normal borderStyle for the given drop list
dropListNormalFillStyleFor:
Return the normal fillStyle for the given drop list.
dropListNormalListBorderStyleFor:
Return the normal borderStyle for the list of the given given drop list
dropListNormalListFillStyleFor:
Return the normal fillStyle for the list of the given drop list.
errorIcon
Answer an error icon.
exampleBasicControls
exampleBuilder
exampleColorControls
exampleDialogs
exampleGroups
exampleOtherControls
exampleWindowWithToolbars
expanderTitleControlButtonWidth
Answer the width of an expander title control button for this theme.
expanderTitleInsetFor:
Answer the inset to use for expander title layout.
expanderTitleNormalFillStyleFor:
Return the normal expander title fillStyle for the given expander title.
fileOpenIn:title:extensions:path:preview:
Answer the result of a file open dialog with the given title, extensions path and preview type.
fileSaveIn:title:extensions:path:
Answer the result of a file save dialog with the given title, extensions and path.
focusIndicator
Answer the value of focusIndicator
focusIndicator:
Set the value of focusIndicator
focusIndicatorCornerRadiusFor:
Answer the default corner radius preferred for the focus indicator
for the morph for themes that support this.
focusIndicatorMorphFor:
Answer a (cached) focus indicator for the given morph.
forms
Answer the value of forms
forms:
Set the value of forms
groupLabelBorderStyleFor:
Answer the normal border style for a group label.
groupPanelBorderStyleFor:
Answer the normal border style for a group panel.
handlesWindowDropShadowInHandFor:
Answer whether the receiver will handle drop shadow drawing
for a window when picked up in the hand. We will when diffuse.
infoIcon
Answer an information icon.
initialize
Initialize the receiver.
initializeForms
Initialize the receiver's image forms.
isAbstract
isCurrent
labelFont
Answer the label font to use.
listDisabledBorderStyleFor:
Return the disabled borderStyle for the given list.
listDisabledFillStyleFor:
Return the disabled fillStyle for the given list.
listFocusBoundsFor:
Answer the bounds for drawing the focus indication.
listFont
Answer the list font to use.
listNormalBorderStyleFor:
Return the normal borderStyle for the given list
listNormalFillStyleFor:
Return the normal fillStyle for the given list.
lockIcon
Answer a lock icon.
longMessageIn:text:title:
Answer the result of a (potentially long) message dialog (true) with the given label and title.
menuBarFont
Answer the menu bar font to use.
menuCloseForm
Answer the form to use for the close button of a menu.
menuColor
Answer the menu color to use.
menuColorFor:
Answer the menu color to use.
menuFont
Answer the menu font to use.
menuItemInDockingBarSelectedBorderStyleFor:
Return the selected menu item borderStyle when in a docking bar for the given menu item.
menuItemInDockingBarSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item that is in a docking bar.
menuItemSelectedBorderStyleFor:
Return the selected menu item borderStyle for the given menu item.
menuItemSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item.
menuPinForm
Answer the form to use for the pin button of a menu.
menuTitleColor
Answer the menu title color to use.
menuTitleColorFor:
Answer the menu titlecolor to use.
messageIn:text:title:
Answer the result of a message dialog (true) with the given label and title.
messageSound
Answer the message sound.
multiFormFillStyleFrom:cornerWidths:in:
Answer a composite fill style from the given forms and central colour
in the given bounds. Use the widths specified for the portion of the
corner forms to display.
multiFormFillStyleFrom:in:
Answer a composite fill style from the given forms and central colour
in the given bounds.
multiFormTopFillStyleFrom:in:
Answer a composite fill style from the given forms and central colour
in the given bounds. Only top and middle sections are considered.
newAlphaImageIn:image:help:
Answer an alpha image morph.
newAlphaSelectorIn:for:getAlpha:setAlpha:help:
Answer an alpha selector .
newAutoAcceptTextEditorIn:for:getText:setText:getEnabled:
Answer a text editor for the given model.
newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:font:help:
Answer a text entry for the given model.
Object conversion will be automatic based on the class of
object returned after performing the get selector, aClass
is provided in case of initial nil returns.
newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:help:
Answer a text entry for the given model.
Object conversion will be automatic based on the class of
object returned after performing the get selector, aClass
is provided in case of initial nil returns.
newBalloonHelpIn:contents:for:corner:
Answer a new balloon help morph with the given text
and positioning for aMorph.
newBracketSliderIn:for:getValue:setValue:min:max:quantum:getEnabled:help:
Answer a bracket slider.
newBuilder
newButtonIn:for:getState:action:arguments:getEnabled:getLabel:help:
Answer a new button.
newButtonIn:for:getState:action:arguments:getEnabled:label:help:
Answer a new button.
newCancelButtonIn:for:
Answer a new cancel button.
newCheckboxIn:for:getSelected:setSelected:getEnabled:label:help:
Answer a checkbox with the given label .
newCheckboxMarkerForm
Answer a new checkbox marker form.
newCloseButtonIn:for:
Answer a new close button.
newColorChooserIn:for:getColor:setColor:getEnabled:help:
Answer a color chooser .
newColorPickerIn:for:getter:setter:
Answer a color picker for the given morph and accessors.
newColorPresenterIn:for:getColor:help:
Answer a color presenter.
newColumnIn:for:
Answer a morph laid out with a column of controls.
newDefault
newDefaultSettings
newDialogPanelIn:
Answer a new (main) dialog panel.
newDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a drop list for the given model.
newEmbeddedMenuIn:for:
Answer a new menu.
newExpanderIn:label:forAll:
Answer an expander with the given label and controls.
newFocusIndicatorMorphFor:
Answer a new focus indicator for the given morph.
newFontSelector
Answer a new font selector dialog as appropriate to
the font support present in the image.
newFuzzyLabelIn:for:label:offset:alpha:getEnabled:
Answer a new fuzzy label.
newGroupboxIn:
Answer a plain groupbox.
newGroupboxIn:for:
Answer a plain groupbox.
newGroupboxIn:forAll:
Answer a plain groupbox.
newGroupboxIn:label:
Answer a groupbox with the given label.
newGroupboxIn:label:for:
Answer a groupbox with the given label and control.
newGroupboxIn:label:forAll:
Answer a groupbox with the given label and controls.
newHSVASelectorIn:color:help:
Answer a hue-saturation-volume-alpha selector.
newHSVSelectorIn:color:help:
Answer a hue-saturation-volume selector.
newHueSelectorIn:for:getHue:setHue:help:
Answer a hue selector .
newImageIn:form:
Answer a new text label.
newImageIn:form:size:
Answer a new image morph.
newIncrementalSliderIn:for:getValue:setValue:min:max:quantum:getEnabled:help:
Answer a slider inrement/decrement buttons.
newLabelGroupIn:for:spaceFill:
Answer a morph laid out with a column of labels and a column of associated controls.
If spaceFill is tru then each row will share available space to pad.
newLabelGroupIn:for:spaceFill:font:labelColor:
Answer a morph laid out with a column of labels and a column of associated controls.
If spaceFill is tru then each row will share available space to pad.
newLabelIn:for:label:getEnabled:
Answer a new text label.
newLabelIn:label:
Answer a new text label.
newListIn:for:list:selected:changeSelected:getEnabled:help:
Answer a list for the given model.
newMenuIn:for:
Answer a new menu.
newMorphDropListIn:for:list:getSelected:setSelected:getEnabled:help:
Answer a morph drop list for the given model.
newMorphDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a morph drop list for the given model.
newMorphListIn:for:list:getSelected:setSelected:getEnabled:help:
Answer a morph list for the given model.
newNoButtonIn:for:
Answer a new No button.
newOKButtonIn:for:getEnabled:
Answer a new OK button.
newPanelIn:
Answer a new panel.
newPluggableDialogWindowIn:title:for:
Answer a new pluggable dialog panel with the given content.
newRadioButtonIn:for:getSelected:setSelected:getEnabled:label:help:
Answer a checkbox (radio button appearance) with the given label .
newRadioButtonMarkerForm
Answer a new radio button marker form.
newRowIn:for:
Answer a morph laid out with a row of controls.
newSVSelectorIn:color:help:
Answer a saturation-volume selector.
newSeparatorIn:
Answer a new horizontal separator.
newSliderIn:for:getValue:setValue:min:max:quantum:getEnabled:help:
Answer a slider.
newStringIn:label:font:style:
Answer a new string/text morph.
newTabGroupIn:for:
Answer a tab group morph with the given tab labels and associated pages.
newTaskbarButtonIn:for:
Answer a taskbar button morph for the given window.
newTaskbarThumbnailIn:for:
Answer a taskbar thumbnail morph for the given window.
newTasklistButtonIn:for:
Answer a tasklist button morph for the given task.
newTextEditorIn:for:getText:setText:getEnabled:
Answer a text editor for the given model.
newTextEntryIn:for:get:set:class:getEnabled:help:
Answer a text entry for the given model.
newTextIn:text:
Answer a new text.
newTitleIn:label:for:
Answer a morph laid out with a column with the title and control aligned to the left.
newToolDockingBarIn:
Answer a new tool docking bar.
newToolSpacerIn:
Answer a new tool spacer.
newToolbarHandleIn:
Answer a new toolbar handle.
newToolbarIn:
Answer a new toolbar.
newToolbarIn:for:
Answer a new toolbar with the given controls.
newTreeExpandedForm
Answer a new form for an expanded tree item.
newTreeIn:for:list:selected:changeSelected:
Answer a new tree morph.
newTreeUnexpandedForm
Answer a new form for an unexpanded tree item.
newVerticalSeparatorIn:
Answer a new vertical separator.
newWindowCloseForm
Answer a new form for a window close box.
newWindowMaximizeForm
Answer a new form for a window maximize box.
newWindowMenuForm
Answer a new form for a window menu box.
newWindowMinimizeForm
Answer a new form for a window minimize box.
newYesButtonIn:for:
Answer a new Yes button.
openTasklist:
Open a tasklist to choose a window.
Answer true if handled, false otherwise.
passwordEntryIn:text:title:entryText:
Answer the result of a password entry dialog (a string or nil if cancelled)
with the given label and title.
plainGroupPanelBorderStyleFor:
Answer the normal border style for a plain group panel.
postCopy
Copy the settings too.
proceedIn:text:title:
Answer the result of a proceed dialog with the given label and title.
progressBarBorderStyleFor:
Return the progress bar borderStyle for the given progress bar.
progressBarColorFor:
Answer the colour for the given progress bar.
progressBarFillStyleFor:
Return the progress bar fillStyle for the given progress bar.
progressBarProgressColorFor:
Answer the colour for the progress part of the given progress bar.
progressBarProgressFillStyleFor:
Return the progress bar progress fillStyle for the given progress bar.
questionIcon
Answer a question icon.
questionIn:text:title:
Answer the result of a question dialog with the given label and title.
questionSound
Answer the question sound.
questionWithoutCancelIn:text:title:
Answer the result of a question dialog with the given label and title.
radioButtonCornerStyleFor:
Answer the corner style for radio buttons.
radioButtonDisabledBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
radioButtonDisabledFillStyleFor:
Return the disabled radio button fillStyle for the given button.
radioButtonMarkerForm
Answer the form to use for a radio button marker.
radioButtonNormalBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
radioButtonNormalFillStyleFor:
Return the normal radio button fillStyle for the given button.
radioButtonSelectedBorderStyleFor:
Return the selected radio button borderStyle for the given button.
radioButtonSelectedDisabledBorderStyleFor:
Return the selecteddisabled radio button borderStyle for the given button.
radioButtonSelectedDisabledFillStyleFor:
Return the selected disabled radio button fillStyle for the given button.
radioButtonSelectedFillStyleFor:
Return the selected radio button fillStyle for the given button.
resetDefaultSettings
resizerGripNormalFillStyleFor:
Return the normal fillStyle for the given resizer.
For the moment, answer a transparent colour for no drawing,
non transparent to draw as normal.
scrollPaneDisabledBorderStyleFor:
Return the disabled borderStyle for the given scroll pane.
scrollPaneNormalBorderStyleFor:
Return the normal borderStyle for the given scroll pane
scrollbarArrowOfDirection:size:color:
Answer a new scrollbar arrow form (normally cached by Scrollbar).
scrollbarButtonCornerStyleIn:
Allow for themes to override default behaviour.
scrollbarColorFor:
Answer the colour for the given scrollbar.
scrollbarImageColorFor:
Return the scrollbar image colour (on buttons) for the given scrollbar.
scrollbarMinimumThumbThickness
Answer the minumum width or height of a scrollbar thumb
as appropriate to its orientation.
scrollbarMouseOverBarButtonBorderStyleFor:
Return the button borderStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverBarButtonFillStyleFor:
Return the button fillStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverBarThumbBorderStyleFor:
Return the thumb borderStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverBarThumbFillStyleFor:
Return the thumb fillStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverBorderStyleFor:
Return the mouse over borderStyle for the given scrollbar.
scrollbarMouseOverButtonBorderStyleFor:
Return the mouse over button borderStyle for the given scrollbar.
scrollbarMouseOverButtonFillStyleFor:
Return the scrollbar mouse over button fillStyle for the given color.
scrollbarMouseOverFillStyleFor:
Return the scrollbar mouse over fillStyle for the given color.
scrollbarMouseOverThumbBorderStyleFor:
Return the mouse over thumb borderStyle for the given scrollbar.
scrollbarMouseOverThumbButtonBorderStyleFor:
Return the button borderStyle for the given scrollbar when
the mouse is over the thumb.
scrollbarMouseOverThumbButtonFillStyleFor:
Return the button fillStyle for the given scrollbar when
the mouse is over the thumb.
scrollbarMouseOverThumbFillStyleFor:
Return the scrollbar mouse over thumb fillStyle for the given color.
scrollbarNormalBorderStyleFor:
Return the normal button borderStyle for the given scrollbar.
scrollbarNormalButtonBorderStyleFor:
Return the normal button borderStyle for the given scrollbar.
scrollbarNormalButtonFillStyleFor:
Return the normal scrollbar button fillStyle for the given scrollbar.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarPagingAreaCornerStyleIn:
Allow for themes to override default behaviour.
scrollbarPressedBorderStyleFor:
Return the pressed borderStyle for the given scrollbar.
scrollbarPressedButtonBorderStyleFor:
Return the pressed button borderStyle for the given scrollbar.
scrollbarPressedButtonFillStyleFor:
Return the pressed scrollbar button fillStyle for the given scrollbar.
scrollbarPressedFillStyleFor:
Return the pressed scrollbar fillStyle for the given scrollbar.
scrollbarPressedThumbBorderStyleFor:
Return the pressed thumb borderStyle for the given scrollbar.
scrollbarPressedThumbFillStyleFor:
Return the pressed scrollbar thumb fillStyle for the given scrollbar.
scrollbarThickness
Answer the width or height of a scrollbar as appropriate to
its orientation.
scrollbarThumbCornerStyleIn:
Allow for themes to override default behaviour.
selectionColor
Answer the selection color to use..
separatorFillStyleFor:
Return the separator fillStyle for the given separator.
setSystemProgressMorphDefaultParameters:
Set up the given progress morph.
settings
Answer the value of settings
settings:
Set the value of settings
sliderDisabledBorderStyleFor:
Return the disabled slider borderStyle for the given text editor.
sliderDisabledFillStyleFor:
Return the disabled fillStyle for the given slider.
sliderNormalBorderStyleFor:
Return the normal slider borderStyle for the given text editor.
sliderNormalFillStyleFor:
Return the normal fillStyle for the given slider.
smallBarcodeIcon
Answer a small barcode icon.
smallBoldIcon
Answer a small bold text icon.
smallDebugIcon
Answer a small debug icon.
smallErrorIcon
Answer a small error icon.
smallHierarchyBrowserIcon
Answer a small hierarchy browser icon.
smallInfoIcon
Answer a small information icon.
smallItalicIcon
Answer a small italic text icon.
smallLockIcon
Answer a small lock icon.
smallQuestionIcon
Answer a small question icon.
smallStrikeOutIcon
Answer a small strike text icon.
smallSystemBrowserIcon
Answer a small browser icon.
smallUnderlineIcon
Answer a small underlined text icon.
smallWarningIcon
Answer a small warning icon.
soundTheme
Answer the sound theme to use, if not specified
use the default sound theme.
soundTheme:
Set the sound theme specific to this instance of ui theme,
splitterNormalFillStyleFor:
Return the normal splitter fillStyle for the given splitter.
splitterPressedFillStyleFor:
Return the pressed splitter fillStyle for the given splitter.
startUp
statusFont
Answer the status font to use.
subgroupColorFrom:
Answer the colour for a subgroup given the pane colour.
tabGroupCornerStyleIn:
Allow for themes to override default behaviour.
tabLabelInsetFor:
Answer the inset to use for a tab label.
tabLabelNormalBorderStyleFor:
Answer the normal border style for a tab label.
tabLabelNormalFillStyleFor:
Return the normal fillStyle for the given tab label.
tabLabelSelectedBorderStyleFor:
Answer the selected border style for a tab label.
tabLabelSelectedFillStyleFor:
Return the selected fillStyle for the given tab label.
tabPanelBorderStyleFor:
Answer the normal border style for a tab panel.
tabSelectorCellInsetFor:
Answer the cell inset to use for the given tab selector.
tabSelectorMorphMinExtentFor:
Answer the min extent of the given tab selector.
taskbarActiveButtonColorFor:
Answer the colour for the given active taskbar button.
taskbarButtonColorFor:
Answer the colour for the given taskbar button.
taskbarButtonLabelColorFor:
Answer the colour for the label of the given taskbar button.
taskbarFillStyleFor:
Return the taskbar fillStyle for the given taskbar.
taskbarMinimizedButtonColorFor:
Answer the colour for the given minimized taskbar button.
taskbarThumbnailCornerStyleFor:
Answer the corner style for the taskbar thumbnail/tasklist.
taskbarThumbnailNormalBorderStyleFor:
Return the normal thumbnail borderStyle for the given button.
tasklistFillStyleFor:
Return the tasklist fillStyle for the given tasklist.
textEditorDisabledBorderStyleFor:
Return the disabled text editor borderStyle for the given text editor.
textEditorDisabledFillStyleFor:
Return the disabled fillStyle for the given text editor.
textEditorIn:text:title:entryText:
Answer the result of a text editor (multiline) dialog ( a string or nil if cancelled)
with the given label and title.
textEditorIn:text:title:entryText:entryHeight:
Answer the result of a text editor (multiline) dialog ( a string or nil if cancelled)
with the given label and title.
textEditorNormalBorderStyleFor:
Return the normal text editor borderStyle for the given text editor.
textEditorNormalFillStyleFor:
Return the normal fillStyle for the given text editor.
textEntryCornerStyleIn:
Answer the corner style to use for text entry morphs.
textEntryIn:text:title:entryText:
Answer the result of a text entry dialog ( a string or nil if cancelled)
with the given label and title.
textFieldDisabledBorderStyleFor:
Return the disabled text field borderStyle for the given text field.
textFieldDisabledFillStyleFor:
Return the disabled fillStyle for the given text field.
textFieldNormalBorderStyleFor:
Return the normal text field borderStyle for the given text field.
textFieldNormalFillStyleFor:
Return the normal fillStyle for the given text field.
textFocusBoundsFor:
Answer the bounds for drawing the focus indication.
textFont
Answer the text font to use.
themeName
treeExpandedForm
Answer the form to use for an expanded tree item.
treeLineColorsFrom:
Answer the colours to use for the tree lines.
The given colour is the preferred colour.
treeLineDashes
Answer the dash lengths to use for the tree lines.
treeLineWidth
Answer the width of the tree lines.
treeUnexpandedForm
Answer the form to use for an unexpanded tree item.
updateWorldDockingBars
Update the world docking bar gradients.
useScrollbarThumbShadow
Answer whether a shadow morph should be displayed when
dragging a scrollbar thumb.
warningIcon
Answer a warning icon.
windowActiveDropShadowOffsetRectangleFor:
Answer a rectangle describing the offsets for each corner
of the the active window bounds for the drop shadow area.
windowActiveDropShadowStyle
Answer the style of drop shadow to use for active windows.
windowActiveFillStyleFor:
Return the window active fillStyle for the given window.
windowActiveLabelFillStyleFor:
Return the window active label fillStyle for the given window.
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given color.
windowCloseForm
Answer the form to use for the close button of a window.
windowCloseSound
Answer the window close sound.
windowColor
Answer the window color to use.
windowColorFor:
Answer the colour for the given window.
windowDiffuseDropShadowOffsetRectangleFor:
Answer a rectangle describing the offsets for each corner
of the the active window bounds for the drop shadow area
when the difuse style is used.
windowEdgeNormalFillStyleFor:
Return the normal window edge fillStyle for the given edge grip.
windowEdgePressedFillStyleFor:
Return the pressed window edge fillStyle for the given edge grip.
windowExtentChangedFor:
Update any extent related visuals.
windowInactiveDropShadowOffsetRectangleFor:
Answer a rectangle describing the offsets for each corner
of the the inactive window bounds for the drop shadow area.
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowInactiveLabelFillStyleFor:
Return the window inactive label fillStyle for the given window.
windowInactiveTitleFillStyleFor:
Return the window inactive title fillStyle for the given color.
windowLabelFor:
Answer the label to use for the given window.
windowLabelForText:
Answer the window label to use for the given text.
windowMaximizeForm
Answer the form to use for the maximize button of a window.
windowMaximizeSound
Answer the window maximize sound.
windowMenuForm
Answer the form to use for the menu button of a window.
windowMenuIconFor:
Answer the menu icon for the given window.
windowMinimizeForm
Answer the form to use for the minimize button of a window.
windowMinimizeSound
Answer the window minimize sound.
windowOpenSound
Answer the window open sound.
windowPaneBorderStyleFor:in:
Answer the border style for a morph that is to be added
as a pane in the given system window,
windowPlainDropShadowOffsetRectangleFor:
Answer a rectangle describing the offsets for each corner
of the the active window bounds for the drop shadow area
when the plain style is used.
windowPreferredCornerStyleFor:
Answer the preferred corner style for the given window.
windowRestoreDownSound
Answer the window restore down sound.
windowRestoreUpSound
Answer the window restore up sound.
windowShadowColor
Answer the window shadow color to use.
worldMainDockingBarBorderStyleFor:
Return the world main docking bar borderStyle for the given docking bar.
worldMainDockingBarColorFor:
Answer the base colour to use for a world main docking bar in this theme.
worldMainDockingBarNormalFillStyleFor:
Return the world main docking bar fillStyle for the given docking bar.
UIThemeSoftSqueak
A soft gradient-based UI theme. Do UIThemeSoftSqueak beCurrent to use.
buttonDisabledBorderStyleFor:
Return the disabled button borderStyle for the given button.
buttonDisabledFillStyleFor:
Return the disabled button fillStyle for the given color.
buttonMouseOverFillStyleFor:
Return the button mouse over fillStyle for the given color.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given button.
buttonPressedFillStyleFor:
Return the button pressed fillStyle for the given color.
buttonSelectedBorderStyleFor:
Return the selected button borderStyle for the given button.
buttonSelectedDisabledBorderStyleFor:
Return the selecteddisabled button borderStyle for the given button.
buttonSelectedDisabledFillStyleFor:
Return the button selected disabled fillStyle for the given color.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given color.
buttonSelectedMouseOverFillStyleFor:
Return the button selected mouse over fillStyle for the given color.
buttonSelectedPressedFillStyleFor:
Return the button selected pressed fillStyle for the given color.
checkboxButtonDisabledBorderStyleFor:
Return the disabled checkbox button borderStyle for the given button.
checkboxButtonDisabledFillStyleFor:
Return the disabled checkbox button fillStyle for the given button.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonNormalFillStyleFor:
Return the normal checkbox button fillStyle for the given button.
disabledItemStyle
Answer either #plain or #inset to determine how
diabled text is drawn.
dropListDisabledFillStyleFor:
Return the disabled fillStyle for the given dropList.
dropListNormalFillStyleFor:
Return the normal fillStyle for the given drop list.
expanderTitleNormalFillStyleFor:
Return the normal expander title fillStyle for the given expander title.
isAbstract
menuItemInDockingBarSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item that is in a docking bar.
menuItemSelectedBorderStyleFor:
Return the selected menu item borderStyle for the given menu item.
menuItemSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item.
newDialogPanelIn:
Answer a new (main) dialog panel.
newLabelIn:for:label:getEnabled:
Answer a new text label.
progressBarBorderStyleFor:
Return the progress bar borderStyle for the given progress bar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarPressedThumbBorderStyleFor:
Return the pressed thumb borderStyle for the given scrollbar.
scrollbarPressedThumbFillStyleFor:
Return the pressed scrollbar thumb fillStyle for the given scrollbar.
sliderDisabledFillStyleFor:
Return the disabled fillStyle for the given slider.
sliderNormalFillStyleFor:
Return the normal fillStyle for the given slider.
tasklistFillStyleFor:
Return the tasklist fillStyle for the given tasklist.
textEditorDisabledFillStyleFor:
Return the disabled fillStyle for the given text editor.
textEditorNormalFillStyleFor:
Return the normal fillStyle for the given text editor.
textFieldDisabledFillStyleFor:
Return the disabled fillStyle for the given text field.
textFieldNormalFillStyleFor:
Return the normal fillStyle for the given text field.
themeName
windowActiveLabelFillStyleFor:
Return the window active label fillStyle for the given window.
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given window.
windowEdgeNormalFillStyleFor:
Return the normal window edge fillStyle for the given edge grip.
windowInactiveLabelFillStyleFor:
Return the window inactive label fillStyle for the given window.
windowLabelForText:
Answer the window label to use for the given text.
worldMainDockingBarNormalFillStyleFor:
Return the world main docking bar fillStyle for the given docking bar.
UIThemeStandardSqueak
A UI theme that tries to make things look like a standard (3.9) Squeak image. Do UIThemeStandardSqueak beCurrent to use.
buttonDisabledFillStyleFor:
Return the disabled button fillStyle for the given color.
buttonMouseOverFillStyleFor:
Return the button mouse over fillStyle for the given color.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given button.
buttonPanelNormalFillStyleFor:
Return the normal panel fillStyle for the given panel.
buttonPressedBorderStyleFor:
Return the pressed button borderStyle for the given button.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given color.
buttonSelectedMouseOverFillStyleFor:
Return the button selected mouse over fillStyle for the given color.
buttonSelectedPressedBorderStyleFor:
Return the selected pressed button borderStyle for the given button.
configureWindowDropShadowFor:
Configure the drop shadow for the given window.
dialogWindowActiveFillStyleFor:
Return the dialog window active fillStyle for the given window.
dialogWindowInactiveFillStyleFor:
Return the dialog window inactive fillStyle for the given window.
drawTextAdornmentsFor:on:
Indicate edit status for the given morph.
Include a thin red inset border for unaccepted edits, or, if the unaccepted edits are known to conflict with a change made somewhere else to the same method (typically), put a thick red frame
drawWindowDropShadowFor:on:
Draw the drop shadow for the given window.
isAbstract
menuColorFor:
Answer the menu color to use.
menuPinForm
Answer the form to use for the pin button of a menu.
menuTitleColorFor:
Answer the menu title color to use.
newBalloonHelpIn:contents:for:corner:
Answer a new balloon help morph with the given text
and positioning for aMorph.
newTreeExpandedForm
Answer a new form for an expanded tree item.
newTreeUnexpandedForm
Answer a new form for an unexpanded tree item.
progressBarBorderStyleFor:
Return the progress bar borderStyle for the given progress bar.
progressBarFillStyleFor:
Return the progress bar fillStyle for the given progress bar.
progressBarProgressFillStyleFor:
Return the progress bar progress fillStyle for the given progress bar.
scrollbarImageColorFor:
Return the scrollbar image colour (on buttons) for the given scrollbar.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarPressedButtonBorderStyleFor:
Return the pressed button borderStyle for the given scrollbar.
smallDebugIcon
Answer a small debug icon.
splitterNormalFillStyleFor:
Return the normal splitter fillStyle for the given splitter.
splitterPressedFillStyleFor:
Return the pressed splitter fillStyle for the given splitter.
taskbarFillStyleFor:
Return the taskbar fillStyle for the given taskbar.
taskbarThumbnailNormalBorderStyleFor:
Return the normal thumbnail borderStyle for the given button.
tasklistFillStyleFor:
Return the tasklist fillStyle for the given tasklist.
themeName
windowActiveFillStyleFor:
Return the window active fillStyle for the given window.
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowMenuIconFor:
Answer the menu icon for the given window.
windowShadowColor
Answer the window shadow color to use.
worldMainDockingBarNormalFillStyleFor:
Return the world main docking bar fillStyle for the given docking bar.
UIThemeVistary
A Vista-style UI theme. Do UIThemeVistary beCurrent to use.
buttonCornerStyleIn:
Allow for themes to override default behaviour.
buttonDisabledBorderStyleFor:
Return the disabled button borderStyle for the given button.
buttonDisabledFillStyleFor:
Return the disabled button fillStyle for the given color.
buttonLabelForText:
Answer the label to use for the given text.
buttonMouseOverBorderStyleFor:
Return the mouse over button borderStyle for the given button.
buttonMouseOverFillStyleFor:
Return the button mouse over fillStyle for the given color.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given color.
buttonPanelNormalFillStyleFor:
Return the normal panel fillStyle for the given panel.
buttonPressedFillStyleFor:
Return the button pressed fillStyle for the given button.
buttonSelectedBorderStyleFor:
Return the selected borderStyle for the given button.
buttonSelectedDisabledFillStyleFor:
Return the button selected disabled fillStyle for the given color.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given button.
buttonSelectedMouseOverBorderStyleFor:
Return the selected mouse over button borderStyle for the given button.
buttonSelectedMouseOverFillStyleFor:
Return the button selected mouse over fillStyle for the given button.
buttonSelectedPressedFillStyleFor:
Return the button selected pressed fillStyle for the given button.
checkboxButtonDisabledBorderStyleFor:
Return the disabled checkbox button borderStyle for the given button.
checkboxButtonDisabledFillStyleFor:
Return the disabled checkbox button fillStyle for the given button.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonNormalFillStyleFor:
Return the normal checkbox button fillStyle for the given button.
configureWindowLabelAreaFor:
Configure the label area for the given window.
controlButtonDisabledBorderStyleFor:
Return the disabled button borderStyle for the given control button.
controlButtonMouseOverBorderStyleFor:
Return the mouse over button borderStyle for the given control button.
controlButtonNormalBorderStyleFor:
Return the normal button borderStyle for the given control button.
controlButtonPressedBorderStyleFor:
Return the pressed control button borderStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedBorderStyleFor:
Return the selected borderStyle for the given control button.
createCloseBoxFor:
Answer a button for closing the window.
createCollapseBoxFor:
Answer a button for minimising the window.
createExpandBoxFor:
Answer a button for maximising/restoring the window.
defaultButtonBorderColor
Answer the color to use for a 'default' button.
disabledItemStyle
Answer either #plain or #inset to determine how
diabled text is drawn.
dockingBarNormalFillStyleFor:
Return the normal docking bar fillStyle for the given color.
dropListDisabledFillStyleFor:
Return the disabled fillStyle for the given drop list.
dropListInsetFor:
Answer the inset to use for drop-list layout.
dropListNormalFillStyleFor:
Return the normal fillStyle for the given drop list.
dropListNormalListFillStyleFor:
Return the normal fillStyle for the list of the given drop list.
errorIcon
Answer an error icon.
expanderTitleInsetFor:
Answer the inset to use for expander title layout.
expanderTitleNormalFillStyleFor:
Return the normal expander title fillStyle for the given expander title.
groupLabelBorderStyleFor:
Answer the normal border style for a group label.
groupPanelBorderStyleFor:
Answer the normal border style for a group panel.
hThumbForm
Answer the form to use for horizontal thumbs.
infoIcon
Answer an information icon.
initializeForms
Initialize the receiver's image forms.
isAbstract
lockIcon
Answer a lock icon.
menuItemInDockingBarSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item that is in a docking bar.
menuItemSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item.
newDefaultSettings
newDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a drop list for the given model.
newHThumbForm
Answer a new form for a horizontal thumb (mostly for scrollbars).
newMorphDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a morph drop list for the given model.
newTaskbarThumbnailIn:for:
Answer a taskbar thumbnail morph for the given window.
newTreeExpandedForm
Answer a new form for an expanded tree item.
newTreeUnexpandedForm
Answer a new form for an unexpanded tree item.
newVThumbForm
Answer a new form for a vertical thumb (mostly for scrollbars).
newWindowCloseDownForm
Answer a new form for a window close box in mouse down over state.
newWindowCloseForm
Answer a new form for a window close box.
newWindowCloseOverForm
Answer a new form for a window close box in mouse over state.
newWindowClosePassiveForm
Answer a new form for a passive window close box.
newWindowMaximizeDownForm
Answer a new form for a mouse down window maximize box.
newWindowMaximizeForm
Answer a new form for a window maximize box.
newWindowMaximizeOverForm
Answer a new form for a mouse over window maximize box.
newWindowMenuForm
Answer a new form for a window menu box.
newWindowMinimizeDownForm
Answer a new form for a mouse down window minimize box.
newWindowMinimizeForm
Answer a new form for a window minimize box.
newWindowMinimizeOverForm
Answer a new form for a mouse over window minimize box.
plainGroupPanelBorderStyleFor:
Answer the normal border style for a plain group panel.
progressBarBorderStyleFor:
Return the progress bar borderStyle for the given progress bar.
progressBarFillStyleFor:
Return the progress bar fillStyle for the given progress bar.
progressBarProgressFillStyleFor:
Return the progress bar progress fillStyle for the given progress bar.
questionIcon
Answer a question icon.
radioButtonDisabledBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
radioButtonNormalBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
resizerGripNormalFillStyleFor:
Return the normal fillStyle for the given resizer.
For the moment, answer a transparent colour for no drawing,
non transparent to draw as normal.
scrollbarMouseOverBarButtonBorderStyleFor:
Return the button borderStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverBarButtonFillStyleFor:
Return the button fillStyle for the given scrollbar when
the mouse is over the bar.
scrollbarMouseOverButtonBorderStyleFor:
Return the mouse over button borderStyle for the given scrollbar.
scrollbarMouseOverButtonFillStyleFor:
Return the mouse over scrollbar button fillStyle for the given scrollbar.
scrollbarMouseOverThumbBorderStyleFor:
Return the mouse over thumb borderStyle for the given scrollbar.
scrollbarMouseOverThumbFillStyleFor:
Return the scrollbar mouse over thumb fillStyle for the given color.
scrollbarNormalButtonBorderStyleFor:
Return the normal button borderStyle for the given scrollbar.
scrollbarNormalButtonFillStyleFor:
Return the normal scrollbar button fillStyle for the given scrollbar.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarPressedFillStyleFor:
Return the pressed scrollbar fillStyle for the given scrollbar.
scrollbarPressedThumbFillStyleFor:
Return the pressed scrollbar thumb fillStyle for the given scrollbar.
sliderDisabledFillStyleFor:
Return the disabled fillStyle for the given slider.
sliderNormalFillStyleFor:
Return the normal fillStyle for the given slider.
smallDebugIcon
Answer a small debug icon.
smallErrorIcon
Answer a small error icon.
smallInfoIcon
Answer a small information icon.
smallLockIcon
Answer a small lock icon.
smallQuestionIcon
Answer a small question icon.
smallWarningIcon
Answer a small warning icon.
subgroupColorFrom:
Answer the colour for a subgroup given the pane colour.
tabGroupCornerStyleIn:
Allow for themes to override default behaviour.
tabLabelNormalBorderStyleFor:
Answer the normal border style for a tab label.
tabLabelNormalFillStyleFor:
Return the normal fillStyle for the given tab label.
tabLabelSelectedBorderStyleFor:
Answer the selected border style for a tab label.
tabPanelBorderStyleFor:
Answer the normal border style for a tab group.
tabSelectorCellInsetFor:
Answer the cell inset to use for the given tab selector.
taskbarActiveButtonColorFor:
Answer the colour for the given active taskbar button.
taskbarButtonColorFor:
Answer the colour for the given taskbar button.
taskbarButtonLabelColorFor:
Answer the colour for the label of the given taskbar button.
taskbarFillStyleFor:
Return the taskbar fillStyle for the given taskbar.
taskbarMinimizedButtonColorFor:
Answer the colour for the given minimized taskbar button.
taskbarThumbnailCornerStyleFor:
Answer the corner style for the taskbar thumbnail/tasklist.
taskbarThumbnailNormalBorderStyleFor:
Return the normal thumbnail borderStyle for the given button.
tasklistFillStyleFor:
Return the tasklist fillStyle for the given tasklist.
textEditorDisabledFillStyleFor:
Return the disabled fillStyle for the given text editor.
textEditorNormalFillStyleFor:
Return the normal fillStyle for the given text editor.
textFieldDisabledFillStyleFor:
Return the disabled fillStyle for the given text field.
textFieldNormalFillStyleFor:
Return the normal fillStyle for the given text field.
themeName
treeLineWidth
Answer the width of the tree lines.
useScrollbarThumbShadow
Answer whether a shadow morph should be displayed when
dragging a scrollbar thumb.
vThumbForm
Answer the form to use for vertical thumbs.
warningIcon
Answer a warning icon.
windowActiveFillStyleFor:
Return the window active fillStyle for the given window.
windowActiveLabelFillStyleFor:
Return the window active label fillStyle for the given window.
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given window.
windowCloseDownForm
Answer the form to use for window close buttons with mouse down and over.
windowCloseOverForm
Answer the form to use for window close buttons with mouse over.
windowClosePassiveForm
Answer the form to use for passive (background) window close buttons
windowFillStyleAlpha
Answer the alpha value for the window background.
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowInactiveLabelFillStyleFor:
Return the window inactive label fillStyle for the given window.
windowLabelForText:
Answer the window label to use for the given text.
windowMaximizeDownForm
Answer the form to use for window maximise buttons with mouse down.
windowMaximizeOverForm
Answer the form to use for window maximise buttons with mouse over.
windowMinimizeDownForm
Answer the form to use for window minimise buttons with mouse down.
windowMinimizeOverForm
Answer the form to use for window minimise buttons with mouse over.
worldMainDockingBarBorderStyleFor:
Return the world main docking bar borderStyle for the given docking bar.
worldMainDockingBarColorFor:
Answer the base colour to use for a world main docking bar in this theme.
worldMainDockingBarNormalFillStyleFor:
Return the world main docking bar fillStyle for the given docking bar.
UIThemeW2K
An UIThemeW2K is xxxxxxxxx.
Instance Variables
backgroundColor
basicCreateArrowOfDirection:size:color:
buttonCornerStyleIn:
Allow for themes to override default behaviour.
buttonLabelInsetFor:
Answer the inset to use for a button's label.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalDefaultBorderStyle
Answer the border style for default buttons.
buttonPressedBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonSelectedBorderStyleFor:
Return the selected button borderStyle for the given button.
buttonSelectedDefaultBorderStyle
Answer the border style for selected default buttons.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given color.
checkboxButtonDisabledBorderStyleFor:
Return the disabled checkbox button borderStyle for the given button.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
configureDialogWindowLabelAreaFrameFor:
Configure the layout frame for the label area for the given dialog window.
configureWindowBorderFor:
Configure the border for the given window.
configureWindowLabelAreaFor:
Configure the label area for the given window.
configureWindowLabelAreaFrameFor:
Configure the layout frame for the label area for the given window.
createCloseBoxFor:
Answer a button for closing the window.
createCollapseBoxFor:
Answer a button for closing the window.
createExpandBoxFor:
Answer a button for closing the window.
dialogWindowActiveFillStyleFor:
Return the dialog window active fillStyle for the given window.
dialogWindowInactiveFillStyleFor:
Return the dialog window active fillStyle for the given window.
dialogWindowPreferredCornerStyleFor:
Answer the preferred corner style for the given dialog.
disabledItemStyle
Answer either #plain or #inset to determine how
disabled text is drawn.
drawDownArrowIn:on:
drawLeftArrowIn:on:
drawRightArrowIn:on:
drawTabGroupFinishingFor:on:
Patch up any visuals for the selected tab.
drawUpArrowIn:on:
dropListButtonLabelFor:
Answer the label for the button.
dropListControlButtonWidth
Answer the width of a drop list control button for this theme.
dropListDownArrowForm
Answer the form to use for window close buttons with mouse down and over.
dropListNormalBorderStyleFor:
Return the normal borderStyle for the given drop list
dropListNormalListBorderStyleFor:
Return the normal borderStyle for the given drop list
expanderTitleControlButtonWidth
Answer the width of an expander title control button for this theme.
initializeForms
Initialize the receiver's image forms.
initializeLabelAreaFor:
isAbstract
listFocusBoundsFor:
Answer the bounds for drawing the focus indication.
listNormalBorderStyleFor:
Return the normal borderStyle for the given list
menuColor
Answer the menu color to use.
menuColorFor:
Answer the menu color to use.
menuItemInDockingBarSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item that is in a docking bar.
menuItemSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item.
menuTitleColor
Answer the menu title color to use.
menuTitleColorFor:
Answer the menu titlecolor to use.
newDropListDownArrowForm
Answer a new black down arrow.
newDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a drop list for the given model.
newGroupboxIn:
Answer a plain groupbox.
newGroupboxIn:label:
Answer a groupbox with the given label.
newLabelIn:for:label:getEnabled:
Answer a new text label.
newListIn:for:list:selected:changeSelected:getEnabled:help:
Answer a list for the given model.
newMorphDropListIn:for:list:getSelected:setSelected:getEnabled:useIndex:help:
Answer a morph drop list for the given model.
newMorphListIn:for:list:getSelected:setSelected:getEnabled:help:
Answer a morph list for the given model.
newPanelIn:
Answer a new panel.
newPluggableDialogWindowIn:title:for:
Answer a new pluggable dialog panel with the given content.
newTextEditorIn:for:getText:setText:getEnabled:
Answer a text editor for the given model.
newTreeIn:for:list:selected:changeSelected:
Answer a new tree morph.
newWindowCloseDownForm
newWindowCloseForm
Answer a new form for a window close box.
newWindowMaximizeDownForm
newWindowMaximizeForm
Answer a new form for a window maximize box.
newWindowMinimizeDownForm
newWindowMinimizeForm
Answer a new form for a window minimize box.
paneColor
plainGroupPanelBorderStyleFor:
Answer the normal border style for a plain group panel.
progressBarBorderStyleFor:
Return the progress bar borderStyle for the given progress bar.
progressBarColorFor:
Answer the colour for the given progress bar.
progressBarFillStyleFor:
Return the progress bar fillStyle for the given progress bar.
progressBarProgressColorFor:
Answer the colour for the progress part of the given progress bar.
radioButtonDisabledBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
radioButtonNormalBorderStyleFor:
Return the disabled radio button borderStyle for the given button.
resizerGripNormalFillStyleFor:
Return the normal fillStyle for the given resizer.
For the moment, answer a transparent colour for no drawing,
non transparent to draw as normal.
scrollbarArrowOfDirection:size:color:
Answer a new scrollbar arrow form (normally cached by Scrollbar).
scrollbarColorFor:
Answer the colour for the given scrollbar.
scrollbarMinimumThumbThickness
Answer the minumum width or height of a scrollbar thumb
as appropriate to its orientation.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal button borderStyle for the given scrollbar.
scrollbarPressedButtonBorderStyleFor:
Return the pressed button borderStyle for the given scrollbar.
scrollbarThickness
Answer the width or height of a scrollbar as appropriate to
its orientation.
selectionColor
Answer the window color to use.
setSystemProgressMorphDefaultParameters:
Set up the given progress morph.
setup
subgroupColorFrom:
Answer the colour for a subgroup given the pane colour.
tabGroupCornerStyleIn:
Allow for themes to override default behaviour.
tabLabelNormalBorderStyleFor:
Answer the normal border style for a tab label.
tabLabelNormalFillStyleFor:
Return the normal fillStyle for the given tab label.
tabLabelSelectedBorderStyleFor:
Answer the normal border style for a tab panel.
tabLabelSelectedFillStyleFor:
Return the selected fillStyle for the given tab label.
tabPanelBorderStyleFor:
Answer the normal border style for a tab panel.
tabSelectorCellInsetFor:
Answer the cell inset to use for the given tab selector.
tabSelectorMorphMinExtentFor:
Answer the min extent of the given tab selector.
tasklistFillStyleFor:
Return the tasklist fillStyle for the given tasklist.
textEditorNormalBorderStyleFor:
Return the normal text editor borderStyle for the given text editor.
textEntryCornerStyleIn:
Answer the corner style to use for text entry morphs.
textFocusBoundsFor:
Answer the bounds for drawing the focus indication.
themeName
useScrollbarThumbShadow
Answer whether a shadow morph should be displayed when
dragging a scrollbar thumb.
windowActiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowActiveLabelFillStyleFor:
Return the window active label fillStyle for the given window.
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given window.
windowCloseDownForm
Answer the form to use for window close buttons with mouse down and over.
windowColor
Answer the window color to use.
windowColor:
windowColorFor:
Answer the colour for the given window.
windowExtentChangedFor:
Update any extent related visuals.
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowInactiveLabelFillStyleFor:
Return the window inactive label fillStyle for the given window.
windowInactiveTitleFillStyleFor:
Return the window inactive title fillStyle for the given window.
windowMaximizeDownForm
Answer the form to use for window close buttons with mouse down and over.
windowMinimizeDownForm
Answer the form to use for window close buttons with mouse down and over.
windowPreferredCornerStyleFor:
Answer the preferred corner style for the given window.
windowShadowColor
Answer the window shadow color to use.
world
UIThemeWatery
An OSX-style UI theme. Do UIThemeWatery beCurrent to use.
buttonCornerStyleIn:
Allow for themes to override default behaviour.
buttonFocusBoundsFor:
Answer the bounds for drawing the focus indication for the
given button.
buttonLabelForText:
Answer the label to use for the given text.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given button.
buttonPanelNormalFillStyleFor:
Return the normal panel fillStyle for the given panel.
buttonPressedFillStyleFor:
Return the button pressed fillStyle for the given button.
buttonSelectedFillStyleFor:
Return the button selected fillStyle for the given button.
buttonSelectedPressedFillStyleFor:
Return the button selected pressed fillStyle for the given color.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonNormalFillStyleFor:
Return the normal checkbox button fillStyle for the given button.
checkboxButtonSelectedBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonSelectedFillStyleFor:
Return the selected checkbox button fillStyle for the given button.
configureWindowBorderFor:
Configure the border for the given window.
configureWindowLabelAreaFor:
Configure the label area for the given window.
controlButtonMouseOverFillStyleFor:
Return the mouse over control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonNormalFillStyleFor:
Return the control button normal fillStyle for the given button.
controlButtonPressedFillStyleFor:
Return the pressed button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
createCloseBoxFor:
Answer a button for closing the window.
createCollapseBoxFor:
Answer a button for minimising the window.
createExpandBoxFor:
Answer a button for maximising/restoring the window.
dialogWindowActiveFillStyleFor:
Return the dialog window active fillStyle for the given window.
dialogWindowInactiveFillStyleFor:
Return the dialog window inactive fillStyle for the given window.
dockingBarNormalFillStyleFor:
Return the normal docking bar fillStyle for the given bar.
drawTextAdornmentFor:color:on:
Indicate edit status for the given morph.
dropListNormalFillStyleFor:
Return the normal fillStyle for the given drop list.
expanderTitleNormalFillStyleFor:
Return the normal expander title fillStyle for the given expander title.
initializeForms
Initialize the receiver's image forms.
isAbstract
menuItemInDockingBarSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item that is in a docking bar.
menuItemSelectedFillStyleFor:
Answer the selected fill style to use for the given menu item.
newCheckboxMarkerForm
Answer a new checkbox marker form.
newDefaultSettings
newDialogPanelIn:
Answer a new (main) dialog panel.
newFocusIndicatorMorphFor:
Answer a new focus indicator for the given morph.
newRadioButtonMarkerForm
Answer a new radio button marker form.
newStripesForm
Answer the form for the stripes in panels etc.
newTaskbarThumbnailIn:for:
Answer a taskbar thumbnail morph for the given window.
newTreeExpandedForm
Answer a new form for an expanded tree item.
newTreeUnexpandedForm
Answer a new form for an unexpanded tree item.
newWindowCloseForm
Answer a new form for a window close box.
newWindowInactiveControlForm
Answer a new form for an inactive window control box.
newWindowMaximizeForm
Answer a new form for a window maximize box.
newWindowMenuForm
Answer a new form for a window menu box.
newWindowMinimizeForm
Answer a new form for a window minimize box.
progressBarFillStyleFor:
Return the progress bar fillStyle for the given progress bar.
progressBarProgressFillStyleFor:
Return the progress bar progress fillStyle for the given progress bar.
resizerGripNormalFillStyleFor:
Return the normal fillStyle for the given resizer.
For the moment, answer a transparent colour for no drawing,
non transparent to draw as normal.
scrollbarImageColorFor:
Return the scrollbar image colour (on buttons) for the given scrollbar.
scrollbarMinimumThumbThickness
Answer the minumum width or height of a scrollbar thumb
as appropriate to its orientation.
scrollbarNormalButtonBorderStyleFor:
Return the normal button borderStyle for the given scrollbar.
scrollbarNormalButtonFillStyleFor:
Return the normal scrollbar button fillStyle for the given scrollbar.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarPagingAreaCornerStyleIn:
Allow for themes to override default behaviour.
scrollbarPressedButtonBorderStyleFor:
Return the pressed button borderStyle for the given scrollbar.
scrollbarThumbCornerStyleIn:
Allow for themes to override default behaviour.
splitterNormalFillStyleFor:
Return the normal splitter fillStyle for the given splitter.
splitterPressedFillStyleFor:
Return the pressed splitter fillStyle for the given splitter.
stripesForm
Answer the form to use for the stripes of various elements.
tabLabelInsetFor:
Answer the inset to use for a tab label.
tabLabelNormalFillStyleFor:
Return the normal fillStyle for the given tab label.
tabLabelSelectedFillStyleFor:
Return the selected fillStyle for the given tab label.
taskbarActiveButtonColorFor:
Answer the colour for the given active taskbar button.
taskbarFillStyleFor:
Return the taskbar fillStyle for the given taskbar.
taskbarMinimizedButtonColorFor:
Answer the colour for the given minimized taskbar button.
textEditorDisabledFillStyleFor:
Return the disabled fillStyle for the given text editor.
textEntryCornerStyleIn:
Answer the corner style to use for text entry morphs.
textFieldNormalFillStyleFor:
Return the normal fillStyle for the given text field.
themeName
treeLineWidth
Answer the width of the tree lines.
useScrollbarThumbShadow
Answer whether a shadow morph should be displayed when
dragging a scrollbar thumb.
windowActiveFillStyleFor:
Return the window active fillStyle for the given window.
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given window.
windowClosePassiveForm
Answer the form to use for passive (background) window close buttons
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowInactiveTitleFillStyleFor:
Return the window inactive title fillStyle for the given window.
windowMaximizePassiveForm
Answer the form to use for passive (background) window maximize/restore buttons
windowMenuIconFor:
Answer the menu icon for the given window.
windowMinimizePassiveForm
Answer the form to use for passive (background) window minimize buttons
windowPaneBorderStyleFor:in:
Answer the border style for a morph that is to be added
as a pane in the given system window,
worldMainDockingBarBorderStyleFor:
Return the world main docking bar borderStyle for the given docking bar.
worldMainDockingBarNormalFillStyleFor:
Return the world main docking bar fillStyle for the given docking bar.
UIThemeWatery2
An UIThemeWatery2 is xxxxxxxxx.
Instance Variables
windowActiveDropShadowStyle: <Object>
windowActiveDropShadowStyle
- xxxxx
baseScrollbarColorFor:
Return the scrollbar last pane colour or that of our settings if unavailable
buttonBottomLeftForm
Answer the form to use for the bottom left of a button.
buttonBottomMiddleForm
Answer the form to use for the bottom middle of a button.
buttonBottomRightForm
Answer the form to use for the bottom right of a button.
buttonFocusIndicatorCornerRadiusFor:
Answer the default corner radius preferred for the focus indicator
for the button for themes that support this.
buttonLabelInsetFor:
Answer the inset to use for a button's label.
buttonMiddleLeftForm
Answer the form to use for the middle left of a button.
buttonMiddleRightForm
Answer the form to use for the middle right of a button.
buttonMinHeight
Answer the minumum height of a button for this theme.
buttonMinWidth
Answer the minumum width of a button for this theme.
buttonNormalBorderStyleFor:
Return the normal button borderStyle for the given button.
buttonNormalFillStyleFor:
Return the normal button fillStyle for the given button.
buttonPanelNormalFillStyleFor:
Return the normal panel fillStyle for the given panel.
buttonSelectedBottomLeftForm
Answer the form to use for the bottom left of a selected button.
buttonSelectedBottomMiddleForm
Answer the form to use for the bottom middle of a selected button.
buttonSelectedBottomRightForm
Answer the form to use for the bottom right of a selected button.
buttonSelectedFillStyleFor:
Return the selected button fillStyle for the given button.
buttonSelectedMiddleLeftForm
Answer the form to use for the middle left of a selected button.
buttonSelectedMiddleRightForm
Answer the form to use for the middle right of a selected button.
buttonSelectedTopLeftForm
Answer the form to use for the top left of a selected button.
buttonSelectedTopMiddleForm
Answer the form to use for the top middle of a selected button.
buttonSelectedTopRightForm
Answer the form to use for the top right of a selected button.
buttonSquareBottomLeftForm
Answer the form to use for the bottom left of a square button.
buttonSquareBottomRightForm
Answer the form to use for the bottom right of a square button.
buttonSquareSelectedBottomLeftForm
Answer the form to use for the bottom left of a selected square button.
buttonSquareSelectedBottomRightForm
Answer the form to use for the bottom right of a selected square button.
buttonSquareSelectedTopLeftForm
Answer the form to use for the top left of a selected square button.
buttonSquareSelectedTopRightForm
Answer the form to use for the top right of a selected square button.
buttonSquareTopLeftForm
Answer the form to use for the top left of a square button.
buttonSquareTopRightForm
Answer the form to use for the top right of a square button.
buttonTopLeftForm
Answer the form to use for the top left of a button.
buttonTopMiddleForm
Answer the form to use for the top middle of a button.
buttonTopRightForm
Answer the form to use for the top right of a button.
checkboxButtonDisabledBorderStyleFor:
Return the disabled checkbox button borderStyle for the given button.
checkboxButtonDisabledFillStyleFor:
Return the disabled checkbox button fillStyle for the given button.
checkboxButtonNormalBorderStyleFor:
Return the normal checkbox button borderStyle for the given button.
checkboxButtonNormalFillStyleFor:
Return the normal checkbox button fillStyle for the given checkbox button.
checkboxButtonSelectedBorderStyleFor:
Return the selected checkbox button borderStyle for the given button.
checkboxButtonSelectedFillStyleFor:
Return the selected checkbox button fillStyle for the given checkbox button.
checkboxForm
Answer the form to use for a normal checkbox.
checkboxSelectedForm
Answer the form to use for a selected checkbox.
controlButtonDisabledFillStyleFor:
Return the disabled control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonLabelInsetFor:
Answer the inset to use for a control button's label.
controlButtonNormalFillStyleFor:
Return the normal control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonPressedFillStyleFor:
Return the pressed button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedDisabledFillStyleFor:
Return the selected disabled control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedFillStyleFor:
Return the selected control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedMouseOverFillStyleFor:
Return the selected mouse over control button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
controlButtonSelectedPressedFillStyleFor:
Return the selected pressed button fillStyle for the given button.
Control buttons are generally used for drop-lists and expanders.
dialogWindowActiveFillStyleFor:
Return the window active fillStyle for the given window.
dialogWindowInactiveFillStyleFor:
Return the window active fillStyle for the given window.
dockingBarNormalFillStyleFor:
Return the normal docking bar fillStyle for the given color.
dropListControlButtonWidth
Answer the width of a drop list control button for this theme.
dropListFocusIndicatorCornerRadiusFor:
Answer the default corner radius preferred for the focus indicator
for the drop list for themes that support this.
dropListInsetFor:
Answer the inset to use for drop-list layout.
dropListNormalFillStyleFor:
Return the normal fillStyle for the given drop list.
expanderTitleControlButtonWidth
Answer the width of an expander title control button for this theme.
expanderTitleInsetFor:
Answer the inset to use for expander title layout.
initialize
Initialize the receiver.
initializeForms
Initialize the receiver's image forms.
listNormalBorderStyleFor:
Return the normal borderStyle for the given list
newButtonBottomLeftForm
Answer the form for the bottom left of a button.
newButtonBottomMiddleForm
Answer the form for the bottom middle of a button.
newButtonBottomRightForm
Answer the form for the bottom right of a button.
newButtonMiddleLeftForm
Answer the form for the middle left of a button.
newButtonMiddleRightForm
Answer the form for the middle right of a button.
newButtonSelectedBottomLeftForm
Answer the form for the bottom left of a selected button.
newButtonSelectedBottomMiddleForm
Answer the form for the bottom middle of a selected button.
newButtonSelectedBottomRightForm
Answer the form for the bottom right of a selected button.
newButtonSelectedMiddleLeftForm
Answer the form for the middle left of a selected button.
newButtonSelectedMiddleRightForm
Answer the form for the middle right of a selected button.
newButtonSelectedTopLeftForm
Answer the form for the top left of a selected button.
newButtonSelectedTopMiddleForm
Answer the form for the top middle of a selected button.
newButtonSelectedTopRightForm
Answer the form for the top right of a selected button.
newButtonSquareBottomLeftForm
Answer the form for the bottom left of a square button.
newButtonSquareBottomRightForm
Answer the form for the bottom right of a square button.
newButtonSquareSelectedBottomLeftForm
Answer the form for the bottom left of a selected square button.
newButtonSquareSelectedBottomRightForm
Answer the form for the bottom right of a selected square button.
newButtonSquareSelectedTopLeftForm
Answer the form for the top left of a selected square button.
newButtonSquareSelectedTopRightForm
Answer the form for the top right of a selected square button.
newButtonSquareTopLeftForm
Answer the form for the top left of a square button.
newButtonSquareTopRightForm
Answer the form for the top right of a square button.
newButtonTopLeftForm
Answer the form for the top left of a button.
newButtonTopMiddleForm
Answer the form for the top middle of a button.
newButtonTopRightForm
Answer the form for the top right of a button.
newCheckboxForm
Answer the form for a normal checkbox.
newCheckboxSelectedForm
Answer the form for a selected checkbox.
newDefaultSettings
newRadioButtonForm
Answer the form for a normal radio button.
newRadioButtonSelectedForm
Answer the form for a selected radio button.
newScrollbarThumbBottomForm
Answer the form for the bottom of a scrollbar thumb.
newScrollbarThumbHorizontalMiddleForm
Answer the form for the middle of a horizontal scrollbar thumb.
newScrollbarThumbLeftForm
Answer the form for the left hand side of a scrollbar thumb.
newScrollbarThumbRightForm
Answer the form for the right hand side of a scrollbar thumb.
newScrollbarThumbTopForm
Answer the form for the top of a scrollbar thumb.
newScrollbarThumbVerticalMiddleForm
Answer the form for the middle of a vertical scrollbar thumb.
radioButtonCornerStyleFor:
Answer the corner style for radio buttons.
Answer square when not disabled since the form is rounded.
radioButtonDisabledFillStyleFor:
Return the disabled radio button fillStyle for the given button.
radioButtonForm
Answer the form to use for a normal radio button.
radioButtonNormalFillStyleFor:
Return the normal radio button fillStyle for the given button.
radioButtonSelectedDisabledFillStyleFor:
Return the selected disabled radio button fillStyle for the given button.
radioButtonSelectedFillStyleFor:
Return the selected radio button fillStyle for the given button.
radioButtonSelectedForm
Answer the form to use for a selected radio button.
scrollPaneNormalBorderStyleFor:
Return the normal borderStyle for the given scroll pane.
scrollbarImageColorFor:
Return the scrollbar image colour (on buttons) for the given scrollbar.
scrollbarNormalButtonFillStyleFor:
Return the normal scrollbar button fillStyle for the given scrollbar.
scrollbarNormalFillStyleFor:
Return the normal scrollbar fillStyle for the given scrollbar.
scrollbarNormalHorizontalThumbFillStyleFor:
Return the normal scrollbar horizontal thumb fillStyle for the given scrollbar.
scrollbarNormalThumbBorderStyleFor:
Return the normal thumb borderStyle for the given scrollbar.
scrollbarNormalThumbFillStyleFor:
Return the normal scrollbar thumb fillStyle for the given scrollbar.
scrollbarNormalVerticalThumbFillStyleFor:
Return the normal scrollbar vertical thumb fillStyle for the given scrollbar.
scrollbarThickness
Answer the width or height of a scrollbar as appropriate to
its orientation.
scrollbarThumbBottomForm
Answer the form to use for the bottom of a vertical scrollbar.
scrollbarThumbCornerStyleIn:
Allow for themes to override default behaviour.
scrollbarThumbHorizontalMiddleForm
Answer the form to use for the middle of a horizontal scrollbar.
scrollbarThumbLeftForm
Answer the form to use for the left of a horizontal scrollbar.
scrollbarThumbRightForm
Answer the form to use for the right of a horizontal scrollbar.
scrollbarThumbTopForm
Answer the form to use for the top of a vertical scrollbar.
scrollbarThumbVerticalMiddleForm
Answer the form to use for the middle of a vertical scrollbar.
tabLabelNormalFillStyleFor:
Return the normal fillStyle for the given tab label.
tabLabelSelectedFillStyleFor:
Return the selected fillStyle for the given tab label.
tabPanelBorderStyleFor:
Answer the normal border style for a tab group.
tabSelectorCellInsetFor:
Answer the cell inset to use for the given tab selector.
taskbarButtonLabelColorFor:
Answer the colour for the label of the given taskbar button.
themeName
windowActiveDropShadowStyle
Answer the style of drop shadow to use for active windows.
windowActiveDropShadowStyle:
Set the value of windowActiveDropShadowStyle
windowActiveTitleFillStyleFor:
Return the window active title fillStyle for the given window.
windowInactiveFillStyleFor:
Return the window inactive fillStyle for the given window.
windowInactiveTitleFillStyleFor:
Return the window inactive title fillStyle for the given window.
VistaryThemeIcons
Vistary theme specific icons.
errorIconContents
infoIconContents
initialize
Subclasses should redefine this method to perform initializations on instance creation
lockIconContents
normalSizeNames
questionIconContents
smallErrorIconContents
smallInfoIconContents
smallLockIconContents
smallQuestionIconContents
smallSizeNames
smallWarningIconContents
warningIconContents
W2KComplexTabBorder
A W2KComplexTabBorder is xxxxxxxxx.
Instance Variables
drawLineFrom:to:on:
Here we're using the balloon engine since this is much faster than BitBlt w/ brushes.
drawPolyPatchFrom:to:on:usingEnds:
framePolygon2:on:
framePolygon:on:
Frame the given rectangle on aCanvas
frameRectangle:on:
Note: This uses BitBlt since it's roughly a factor of two faster for rectangles
initialize
Subclasses should redefine this method to perform initializations on instance creation
W2KGroupBorder
A W2KGroupBorder is xxxxxxxxx.
Instance Variables
drawLineFrom:to:on:
frameOval:on:
Frame the given rectangle on aCanvas
framePolygon:on:
Frame the given rectangle on aCanvas
framePolyline:on:
Frame the given rectangle on aCanvas
frameRectangle:on:
Frame the given rectangle on aCanvas
initialize
Subclasses should redefine this method to perform initializations on instance creation
width
W2KGroupboxMorph
A W2KGroupboxMorph is xxxxxxxxx.
Instance Variables
drawOn:
WateryThemeIcons
Watery theme specific icons.
normalSizeNames
smallSizeNames
WindowEdgeGripMorph
Window edge gripper allowing resizing of a window by a particular side.
mouseDown:
Activate the window if not currently so.
normalFillStyle
Return the normal fillStyle of the receiver.
pressedFillStyle
Return the pressed fillStyle of the receiver.
WorkAreaMorph
This class is designed to be used as the container for morphs that are placed at absolute positions and is placed within a scroller.
An example would be the background behind a page view in a word processor.
Optimises #layoutChanged to not propagate to owner (assumed to be in a scroller).
adoptPaneColor:
Make the receiver's color a bit whiter than the pane color.
layoutChanged
Don't pass to owner, since the receiver doesn't care! Improves frame rate.