gnu.jemacs.buffer
Class Mode
- Named
Represents a "mode instance" - a mode active for a specific
Buffer
.
Object | apply0(ModuleMethod proc) - A subclass will typically override this like:
switch (method.selector) {
case 3: return function3();
case 5: return function5();
default: super.apply0(method);
}
|
Object | apply1(ModuleMethod proc, Object arg1)
|
Object | apply2(ModuleMethod proc, Object arg1, Object arg2)
|
Object | apply3(ModuleMethod proc, Object arg1, Object arg2, Object arg3)
|
Object | apply4(ModuleMethod proc, Object arg1, Object arg2, Object arg3, Object arg4)
|
Object | applyN(ModuleMethod proc, Object[] args)
|
Buffer | getBuffer()
|
apply , apply0 , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , getMainPrintValues , match0 , match1 , match2 , match3 , match4 , matchN , processArgs , run , run , run , runAsMain , runAsMain , runCleanup , setMainPrintValues |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getName , getProperty , getSetter , getSymbol , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , name , numArgs , removeProperty , set0 , set1 , setN , setName , setProperty , setProperty , setSetter , setSymbol , toString |
apply0
public Object apply0(ModuleMethod proc)
A subclass will typically override this like:
switch (method.selector) {
case 3: return function3();
case 5: return function5();
default: super.apply0(method);
}
- apply0 in interface ModuleBody
getBuffer
public Buffer getBuffer()