|
Class: TabWidget
Object
|
+--TabWidget
|
+--TabWidget::Mac
|
+--TabWidget::Window
- Package:
- stx:libwidg2
- Category:
- Views-Interactors
- Version:
- rev:
1.27
date: 2017/10/09 12:36:56
- user: mawalch
- file: TabWidget.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
- Author:
- Claus Atzkern
instances represent (& draw) the tabs of a tabWidget.
TabView
accessing
-
computeColorsOn: aView style: aStyle
-
set colors dependent on selection color
-
computeColorsOn: aView style: aStyle selectionColor: aSelectedColor
-
set colors dependent on selection color
-
tabStyleOn: aView
-
returns default tab style
-
widgetClass: aWidget
-
instance creation
-
labels: aList for: aTabView
-
create tabs based on labels for a tabview
-
validateDimensions: aStyle
-
validate dimensions for a style; could be redefined
accessing
-
label
-
-
lineNr
-
returns line number
-
lineNr: aLineNr
-
change line number
-
printableLabel
-
accessing-dimensions
-
anchor
-
returns the tab origin
-
anchor: anAnchor
-
change the tab anchor; no redraw
-
anchor: anAnchor extent: anExtent
-
change anchor and extent; no redraw
-
extent
-
return the tab extent
-
extent: anExtent
-
change the tab extent; no redraw
-
preferredExtentX
-
returns my preferred extent x
-
preferredExtentY
-
returns my preferred extent y
basic drawing
-
redrawAtBottom: isSelected
-
redraw tab at bottom of view
** This method raises an error - it must be redefined in concrete classes **
-
redrawAtLeft: isSelected
-
redraw tab at left of view
** This method raises an error - it must be redefined in concrete classes **
-
redrawAtRight: isSelected
-
redraw tab at right of view
** This method raises an error - it must be redefined in concrete classes **
-
redrawAtTop: isSelected
-
redraw tab at top of view
** This method raises an error - it must be redefined in concrete classes **
change & update
-
labelChanged
-
drawing
-
redraw: isSelected
-
redraw the receiver tab
-
redrawLabel
-
redraw label only
initialization
-
label: aLabel for: aTabView
-
initialize attributes
private
-
computeCorner
-
compute corner
-
computeOrigin
-
compute origin
queries
-
containsPoint: aPoint
-
return true, if a point is contained in the tab
-
intersects: aRectangle
-
return true, if the intersection between the tab widget and
the argument, aRectangle is not empty
-
isEnabled
-
-
model
-
Mac
Window
|