eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'NoteBookView::Tab':

Home

everywhere
www.exept.de
for:
[back]

Class: Tab (private in NoteBookView

This class is only visible from within NoteBookView.

Inheritance:

   Object
   |
   +--NoteBookView::Tab

Package:
stx:libwidg2
Category:
Views-Layout
Owner:
NoteBookView

Class protocol:

instance creation
o  label: aLabel on: aView

o  labelOrTabItem: aLabel on: aView


Instance protocol:

accessing
o  accessCharacter
returns the access character or nil

o  foregroundColor
returns the foregroundColor or nil

o  label
returns my original label

o  label: aLabelOrTabItem on: aView
initialize attributes

o  labelOrTabItem
returns my original label

o  labelOrTabItem: aLabelOrTabItem on: aView
initialize attributes

o  lastFocusViewId
get the id of the view which had the last focus or nil

o  lastFocusViewId: anIdOrNil
set the id of the view which has the last focus or nil

o  lineNr
get the line number within the noteBook view

o  lineNr: aLineNr
set the line number within the noteBook view

o  model
returns the model, a TabItem or nil

o  printableLabel
get my printable label

o  shortcutKey
get the key to press to select the tab item from the keyboard

o  string
access the printable string used for steping through a list
searching for an entry starting with a character.

o  tabItem
returns the model, a TabItem or nil

accessing-dimensions
o  extent
returns the extent of the label, the minimum size required by the tab

o  layout
get the tab's current layout, set by the noteBook view

o  layout: aLayout
set the tab's current layout

o  selectedLayout
get the tab's selectedLayout, set by the noteBook view

o  selectedLayout: aLayout
set the tab's selectedLayout

o  unselectedLayout
get the tab's unselectedLayout, set by the noteBook view

o  unselectedLayout: aLayout
set the tab's unselectedLayout

accessing-mvc
o  addDependent: aGC
make the noteBook be a dependent of the tab model

o  removeDependent: aGC
make the noteBook be independent of the tab model

drawing
o  displayOn: aGC inset: inset direction: aDirection textRightInset: aTextRightInset
redraw this tab

private
o  getPrintableLabelFor: aGC

o  resolveDisplayStringFor: aString on: aNoteBook

testing
o  containsPointX: x y: y
return true, if the point defined by x@y is contained in the tab.

o  intersects: aRectangle
return true, if the intersection between the argument, aRectangle
and the tab is not empty

o  isEnabled
returne true if no model exists or the model is enabled



ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:25:07 GMT