eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'VariablePanelSpec':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: VariablePanelSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithSubcomponentsSpec
            |
            +--ViewSpec
               |
               +--VariablePanelSpec
                  |
                  +--FileBrowserV2UISpecifications::PanelSpec
                  |
                  +--VariableHorizontalPanelSpec
                  |
                  +--VariableVerticalPanelSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.49 date: 2023/06/27 20:19:56
user: cg
file: VariablePanelSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


Not normally used by applications.

copyright

COPYRIGHT (c) 1997 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

interface specs
o  detailsEditSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:VariablePanelSpec andSelector:#detailsEditSpec

interface-painter
o  addBindingsTo: env for: inst channel: aChannel
add bindings as required to allow the GUI Painter to operate on an instance of me

queries
o  canResizeSubComponents
answer whether included sub components can be resized or are handled by the view itself

o  isLayoutContainer
answer whether corresponding view instances of the spec class can contain (and arrange) other view

o  supportsSubComponents
answer whether instances of the spec class support sub components


Instance protocol:

accessing
o  barLevel

o  barLevel: something

o  barWidth
return the value of the instance variable 'barWidth' (automatically generated)

o  barWidth: something
set the value of the instance variable 'barWidth' (automatically generated)

o  handlePosition
return #left, #right or #center

o  handlePosition: aSymbol
one if #left, #right or #center

o  handles
return the value of the instance variable 'handles' (automatically generated)

o  handles: aCollectionOfRelativeFractions
set the initial handle positions

o  showHandle
return the value of the instance variable 'showHandle' (automatically generated)

o  showHandle: aBoolean
set the value of the instance variable 'showHandle' (automatically generated)

o  snapMode
return the value of the instance variable 'snapMode' (automatically generated)

o  snapMode: something
set the value of the instance variable 'snapMode' (automatically generated)

building
o  setAttributesIn: aView with: aBuilder
set my attributes to aView

o  setLayoutsInLayoutContainer: aPanel
fix it; spread them evenly

converting
o  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

o  otherAttributesLiteralArrayEncoding: aColl skipping: skipped
(comment from inherited method)
generate a literalArrayEncoding array for other attributes

o  skippedInLiteralEncoding
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)

parsing a view
o  componentFromView: aPanel callBack: aBlock
with:subs

o  fromView: aView callBack: aBlock
extract attributes from aView

o  layoutFromView: aPanel

o  recomputeHandlesFrom: aPanel
I don't like these 9 digit precision numbers in the specs...

queries
o  isVertical

** This method must be redefined in concrete classes (subclassResponsibility) **

o  userFriendlyName
answer a good noticeable name of the widget for the GUI Painter and the documentation



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 03 Dec 2024 17:30:55 GMT