JavaSlotIndexCache.st
author Claus Gittinger <cg@exept.de>
Sun, 23 Feb 2020 14:03:15 +0100
branchcvs_MAIN
changeset 3997 5bb44f7e1d20
parent 3650 b3b4639d0883
permissions -rw-r--r--
#REFACTORING by exept class: Java class changed: #dumpConfigOn:

"
 COPYRIGHT (c) 1996-2015 by Claus Gittinger

 New code and modifications done at SWING Research Group [1]:

 COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
                            SWING Research Group, Czech Technical University in Prague

 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.

 [1] Code written at SWING Research Group contains a signature
     of one of the above copright owners. For exact set of such code,
     see the differences between this version and version stx:libjava
     as of 1.9.2010
"
"{ Package: 'stx:libjava' }"

"{ NameSpace: Smalltalk }"

Object subclass:#JavaSlotIndexCache
	instanceVariableNames:''
	classVariableNames:'String_Slot_offset String_Slot_count String_Slot_value
		Date_Slot_valueValid Date_Slot_expanded Date_Slot_tm_year
		Date_Slot_tm_yday Date_Slot_tm_mon Date_Slot_tm_mday
		Date_Slot_tm_hour Date_Slot_tm_min Date_Slot_tm_sec
		Date_Slot_tm_millis Date_Slot_tm_isdst Date_Slot_tm_wday
		Date_Slot_value Graphics_Slot_pDrawable Graphics_Slot_touched
		Graphics_Slot_color Color_Slot_pData Color_Slot_value'
	poolDictionaries:''
	category:'Languages-Java-Support'
!

!JavaSlotIndexCache class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1996-2015 by Claus Gittinger

 New code and modifications done at SWING Research Group [1]:

 COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
                            SWING Research Group, Czech Technical University in Prague

 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.

 [1] Code written at SWING Research Group contains a signature
     of one of the above copright owners. For exact set of such code,
     see the differences between this version and version stx:libjava
     as of 1.9.2010

"
! !

!JavaSlotIndexCache class methodsFor:'queries'!

color_slot_pData_from:color
    Color_Slot_pData isNil ifTrue:[
        Color_Slot_pData := color class instVarIndexFor:'pData'
    ].
    ^ Color_Slot_pData

    "Created: 8.2.1997 / 13:53:16 / cg"
!

color_slot_value_from:color
    Color_Slot_value isNil ifTrue:[
        Color_Slot_value := color class instVarIndexFor:'value'
    ].
    ^ Color_Slot_value

    "Created: 8.2.1997 / 13:54:48 / cg"
!

date_slot_expanded
    Date_Slot_expanded isNil ifTrue:[
        Date_Slot_expanded := (Java at:'java.util.Date') instVarIndexFor:'expanded'    
    ].
    ^ Date_Slot_expanded

    "
     JavaSlotIndexCache date_slot_expanded
    "

    "Created: 8.2.1997 / 13:28:18 / cg"
!

date_slot_tm_hour
    Date_Slot_tm_hour isNil ifTrue:[
        Date_Slot_tm_hour := (Java at:'java.util.Date') instVarIndexFor:'tm_hour'    
    ].
    ^ Date_Slot_tm_hour

    "
     JavaSlotIndexCache date_slot_tm_hour
    "

    "Created: 8.2.1997 / 13:29:24 / cg"
!

date_slot_tm_isdst
    Date_Slot_tm_isdst isNil ifTrue:[
        Date_Slot_tm_isdst := (Java at:'java.util.Date') instVarIndexFor:'tm_isdst'    
    ].
    ^ Date_Slot_tm_isdst

    "
     JavaSlotIndexCache date_slot_tm_isdst
    "

    "Created: 8.2.1997 / 13:39:00 / cg"
!

date_slot_tm_mday
    Date_Slot_tm_mday isNil ifTrue:[
        Date_Slot_tm_mday := (Java at:'java.util.Date') instVarIndexFor:'tm_mday'    
    ].
    ^ Date_Slot_tm_mday

    "
     JavaSlotIndexCache date_slot_tm_mday
    "

    "Created: 8.2.1997 / 13:29:14 / cg"
!

date_slot_tm_millis
    Date_Slot_tm_millis isNil ifTrue:[
        Date_Slot_tm_millis := (Java at:'java.util.Date') instVarIndexFor:'tm_millis'    
    ].
    ^ Date_Slot_tm_millis

    "
     JavaSlotIndexCache date_slot_tm_millis
    "

    "Created: 8.2.1997 / 13:29:43 / cg"
!

date_slot_tm_min
    Date_Slot_tm_min isNil ifTrue:[
        Date_Slot_tm_min := (Java at:'java.util.Date') instVarIndexFor:'tm_min'    
    ].
    ^ Date_Slot_tm_min

    "
     JavaSlotIndexCache date_slot_tm_min
    "

    "Created: 8.2.1997 / 13:29:32 / cg"
!

date_slot_tm_mon
    Date_Slot_tm_mon isNil ifTrue:[
        Date_Slot_tm_mon := (Java at:'java.util.Date') instVarIndexFor:'tm_mon'    
    ].
    ^ Date_Slot_tm_mon

    "
     JavaSlotIndexCache date_slot_tm_mon
    "

    "Created: 8.2.1997 / 13:29:05 / cg"
!

date_slot_tm_sec
    Date_Slot_tm_sec isNil ifTrue:[
        Date_Slot_tm_sec := (Java at:'java.util.Date') instVarIndexFor:'tm_sec'    
    ].
    ^ Date_Slot_tm_sec

    "
     JavaSlotIndexCache date_slot_tm_sec
    "

    "Created: 8.2.1997 / 13:29:37 / cg"
!

date_slot_tm_wday
    Date_Slot_tm_wday isNil ifTrue:[
        Date_Slot_tm_wday := (Java at:'java.util.Date') instVarIndexFor:'tm_wday'    
    ].
    ^ Date_Slot_tm_wday

    "
     JavaSlotIndexCache date_slot_tm_wday
    "

    "Created: 8.2.1997 / 13:29:14 / cg"
    "Modified: 8.2.1997 / 13:40:12 / cg"
!

date_slot_tm_yday
    Date_Slot_tm_yday isNil ifTrue:[
        Date_Slot_tm_yday := (Java at:'java.util.Date') instVarIndexFor:'tm_yday'    
    ].
    ^ Date_Slot_tm_yday

    "
     JavaSlotIndexCache date_slot_tm_yday
    "

    "Created: 8.2.1997 / 13:29:14 / cg"
    "Modified: 8.2.1997 / 13:38:30 / cg"
!

date_slot_tm_year
    Date_Slot_tm_year isNil ifTrue:[
        Date_Slot_tm_year := (Java at:'java.util.Date') instVarIndexFor:'tm_year'    
    ].
    ^ Date_Slot_tm_year

    "
     JavaSlotIndexCache date_slot_tm_year
    "

    "Created: 8.2.1997 / 13:28:52 / cg"
!

date_slot_value
    Date_Slot_value isNil ifTrue:[
        Date_Slot_value := (Java at:'java.util.Date') instVarIndexFor:'value'    
    ].
    ^ Date_Slot_value

    "
     JavaSlotIndexCache date_slot_value
    "

    "Created: 8.2.1997 / 13:30:30 / cg"
    "Modified: 8.2.1997 / 13:30:51 / cg"
!

date_slot_valueValid
    Date_Slot_valueValid isNil ifTrue:[
        Date_Slot_valueValid := (Java at:'java.util.Date') instVarIndexFor:'valueValid'    
    ].
    ^ Date_Slot_valueValid

    "
     JavaSlotIndexCache date_slot_valueValid
    "

    "Created: 8.2.1997 / 13:25:46 / cg"
    "Modified: 8.2.1997 / 13:27:47 / cg"
!

graphics_slot_color_from:graphics
    Graphics_Slot_color isNil ifTrue:[
        Graphics_Slot_color := graphics class instVarIndexFor:'color'
    ].
    ^ Graphics_Slot_color

    "Created: 8.2.1997 / 13:53:56 / cg"
!

graphics_slot_pDrawable_from:graphics
    Graphics_Slot_pDrawable isNil ifTrue:[
        Graphics_Slot_pDrawable := graphics class instVarIndexFor:'pDrawable'
    ].
    ^ Graphics_Slot_pDrawable

    "Created: 8.2.1997 / 13:49:42 / cg"
!

graphics_slot_touched_from:graphics
    Graphics_Slot_touched isNil ifTrue:[
        Graphics_Slot_touched := graphics class instVarIndexFor:'touched'
    ].
    ^ Graphics_Slot_touched

    "Created: 8.2.1997 / 13:50:57 / cg"
!

string_slot_count
    String_Slot_count isNil ifTrue:[
        String_Slot_count := (Java at:'java.lang.String') instVarIndexFor:'count'    
    ].
    ^ String_Slot_count

    "
     JavaSlotIndexCache string_slot_count
    "

    "Created: 8.2.1997 / 13:19:06 / cg"
!

string_slot_offset
    String_Slot_offset isNil ifTrue:[
        String_Slot_offset := (Java at:'java.lang.String') instVarIndexFor:'offset'    
    ].
    ^ String_Slot_offset

    "
     JavaSlotIndexCache string_slot_offset
    "

    "Modified: 8.2.1997 / 13:18:53 / cg"
!

string_slot_value
    String_Slot_value isNil ifTrue:[
        String_Slot_value := (Java at:'java.lang.String') instVarIndexFor:'value'    
    ].
    ^ String_Slot_value

    "
     JavaSlotIndexCache string_slot_value
    "

    "Created: 8.2.1997 / 13:19:14 / cg"
! !

!JavaSlotIndexCache class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
!

version_HG

    ^ '$Changeset: <not expanded> $'
!

version_SVN
    ^ '$Id$'
! !