gnu.jemacs.buffer

Class BufferLocal


public class BufferLocal
extends IndirectableLocation

A buffer-local variable (Location).

Field Summary

Fields inherited from class gnu.mapping.IndirectableLocation

DIRECT_ON_SET, INDIRECT_FLUIDS, base, value

Fields inherited from class gnu.mapping.Location

UNBOUND

Method Summary

Object
get(Object defaultValue)
Object
get(Buffer buffer, Object defaultValue)
Symbol
getKeySymbol()
boolean
isBound()
boolean
isBound(Buffer buffer)
static void
make(Symbol symbol, boolean all)
void
set(Object newValue)
void
set(Buffer buffer, Object newValue)

Methods inherited from class gnu.mapping.IndirectableLocation

getBase, getEnvironment, getKeyProperty, getKeySymbol, isConstant, setAlias, setBase, undefine

Methods inherited from class gnu.mapping.Location

entered, get, get, getBase, getKeyProperty, getKeySymbol, getValue, isBound, isConstant, make, make, make, print, set, setRestore, setValue, setWithSave, toString, undefine

Method Details

get

public Object get(Object defaultValue)
Overrides:
get in interface Location

get

public Object get(Buffer buffer,
                  Object defaultValue)

getKeySymbol

public final Symbol getKeySymbol()
Overrides:
getKeySymbol in interface IndirectableLocation

isBound

public boolean isBound()
Overrides:
isBound in interface Location

isBound

public boolean isBound(Buffer buffer)

make

public static void make(Symbol symbol,
                        boolean all)

set

public final void set(Object newValue)
Overrides:
set in interface Location

set

public final void set(Buffer buffer,
                      Object newValue)