com.raelity.jvi
Class OptionsBeanBase
java.lang.Object
java.beans.SimpleBeanInfo
com.raelity.jvi.OptionsBeanBase
- All Implemented Interfaces:
- BeanInfo
- Direct Known Subclasses:
- OptionsBean.CursorWrap, OptionsBean.Debug, OptionsBean.ExternalProcess, OptionsBean.General, OptionsBean.Modify, OptionsBean.Platform, OptionsBean.Search
public class OptionsBeanBase
- extends SimpleBeanInfo
Base class for jVi options beans. This method contains the read/write methods
for all options. Which options are made visible is controlled by the
optionsList given to the contstructor. Using this class, options are
grouped into different beans.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsBeanBase
public OptionsBeanBase(Class clazz,
String displayName,
Options.Category category)
- Creates a new instance of OptionsBeanBase
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
- Specified by:
getBeanDescriptor
in interface BeanInfo
- Overrides:
getBeanDescriptor
in class SimpleBeanInfo
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface BeanInfo
- Overrides:
getPropertyDescriptors
in class SimpleBeanInfo
createPropertyDescriptor
public static PropertyDescriptor createPropertyDescriptor(String optName,
String methodName,
Class clazz)
throws IntrospectionException
- Throws:
IntrospectionException
getIcon
public Image getIcon(int type)
- Specified by:
getIcon
in interface BeanInfo
- Overrides:
getIcon
in class SimpleBeanInfo
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
put
protected void put(String name,
String val)
throws PropertyVetoException
- Throws:
PropertyVetoException
put
protected void put(String name,
int val)
throws PropertyVetoException
- Throws:
PropertyVetoException
put
protected void put(String name,
Color val)
throws PropertyVetoException
- Throws:
PropertyVetoException
put
protected void put(String name,
boolean val)
getString
protected String getString(String name)
getint
protected int getint(String name)
getColor
protected Color getColor(String name)
getboolean
protected boolean getboolean(String name)
getJViVersion
public String getJViVersion()
- this read-only option is special cased
setViCoordSkip
public void setViCoordSkip(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViCoordSkip
public boolean getViCoordSkip()
setViPlatformPreferences
public void setViPlatformPreferences(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViPlatformPreferences
public boolean getViPlatformPreferences()
setViDbgCoordSkip
public void setViDbgCoordSkip(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViDbgCoordSkip
public boolean getViDbgCoordSkip()
setViAutoPopupFN
public void setViAutoPopupFN(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViAutoPopupFN
public boolean getViAutoPopupFN()
setViPlatformBraceMatch
public void setViPlatformBraceMatch(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViPlatformBraceMatch
public boolean getViPlatformBraceMatch()
setViShell
public void setViShell(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViShell
public String getViShell()
setViShellCmdFlag
public void setViShellCmdFlag(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViShellCmdFlag
public String getViShellCmdFlag()
setViShellXQuote
public void setViShellXQuote(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViShellXQuote
public String getViShellXQuote()
setViShellSlash
public void setViShellSlash(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViShellSlash
public boolean getViShellSlash()
setViEqualProgram
public void setViEqualProgram(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViEqualProgram
public String getViEqualProgram()
setViFormatProgram
public void setViFormatProgram(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViFormatProgram
public String getViFormatProgram()
setViTextWidth
public void setViTextWidth(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViTextWidth
public int getViTextWidth()
setViModeline
public void setViModeline(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViModeline
public boolean getViModeline()
setViModelines
public void setViModelines(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViModelines
public int getViModelines()
setViRedoTrack
public void setViRedoTrack(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViRedoTrack
public boolean getViRedoTrack()
setViPCMarkTrack
public void setViPCMarkTrack(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViPCMarkTrack
public boolean getViPCMarkTrack()
setViInsertLeftWrapPrevious
public void setViInsertLeftWrapPrevious(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViInsertLeftWrapPrevious
public boolean getViInsertLeftWrapPrevious()
setViInsertRightWrapNext
public void setViInsertRightWrapNext(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViInsertRightWrapNext
public boolean getViInsertRightWrapNext()
setViSelectColor
public void setViSelectColor(Color arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViSelectColor
public Color getViSelectColor()
setViSelectFgColor
public void setViSelectFgColor(Color arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViSelectFgColor
public Color getViSelectFgColor()
setViSelection
public void setViSelection(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViSelection
public String getViSelection()
setViIncrSearch
public void setViIncrSearch(boolean arg)
getViIncrSearch
public boolean getViIncrSearch()
setViSelectMode
public void setViSelectMode(boolean arg)
getViSelectMode
public boolean getViSelectMode()
setViEndOfSentence
public void setViEndOfSentence(boolean arg)
getViEndOfSentence
public boolean getViEndOfSentence()
setViHighlightSearch
public void setViHighlightSearch(boolean arg)
getViHighlightSearch
public boolean getViHighlightSearch()
setViShowCommand
public void setViShowCommand(boolean arg)
getViShowCommand
public boolean getViShowCommand()
setViShowMode
public void setViShowMode(boolean arg)
getViShowMode
public boolean getViShowMode()
setViCommandEntryFrameOption
public void setViCommandEntryFrameOption(boolean arg)
getViCommandEntryFrameOption
public boolean getViCommandEntryFrameOption()
setViBackspaceWrapPrevious
public void setViBackspaceWrapPrevious(boolean arg)
getViBackspaceWrapPrevious
public boolean getViBackspaceWrapPrevious()
setViHWrapPrevious
public void setViHWrapPrevious(boolean arg)
getViHWrapPrevious
public boolean getViHWrapPrevious()
setViLeftWrapPrevious
public void setViLeftWrapPrevious(boolean arg)
getViLeftWrapPrevious
public boolean getViLeftWrapPrevious()
setViSpaceWrapNext
public void setViSpaceWrapNext(boolean arg)
getViSpaceWrapNext
public boolean getViSpaceWrapNext()
setViLWrapNext
public void setViLWrapNext(boolean arg)
getViLWrapNext
public boolean getViLWrapNext()
setViRightWrapNext
public void setViRightWrapNext(boolean arg)
getViRightWrapNext
public boolean getViRightWrapNext()
setViTildeWrapNext
public void setViTildeWrapNext(boolean arg)
getViTildeWrapNext
public boolean getViTildeWrapNext()
setViUnnamedClipboard
public void setViUnnamedClipboard(boolean arg)
getViUnnamedClipboard
public boolean getViUnnamedClipboard()
setViJoinSpaces
public void setViJoinSpaces(boolean arg)
getViJoinSpaces
public boolean getViJoinSpaces()
setViShiftRound
public void setViShiftRound(boolean arg)
getViShiftRound
public boolean getViShiftRound()
setViNotStartOfLine
public void setViNotStartOfLine(boolean arg)
getViNotStartOfLine
public boolean getViNotStartOfLine()
setViChangeWordBlanks
public void setViChangeWordBlanks(boolean arg)
getViChangeWordBlanks
public boolean getViChangeWordBlanks()
setViTildeOperator
public void setViTildeOperator(boolean arg)
getViTildeOperator
public boolean getViTildeOperator()
setViSearchFromEnd
public void setViSearchFromEnd(boolean arg)
getViSearchFromEnd
public boolean getViSearchFromEnd()
setViWrapScan
public void setViWrapScan(boolean arg)
getViWrapScan
public boolean getViWrapScan()
setViMetaEquals
public void setViMetaEquals(boolean arg)
getViMetaEquals
public boolean getViMetaEquals()
setViMetaEscape
public void setViMetaEscape(String arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViMetaEscape
public String getViMetaEscape()
setViIgnoreCase
public void setViIgnoreCase(boolean arg)
getViIgnoreCase
public boolean getViIgnoreCase()
setViExpandTabs
public void setViExpandTabs(boolean arg)
getViExpandTabs
public boolean getViExpandTabs()
setViReport
public void setViReport(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViReport
public int getViReport()
setViBackspace
public void setViBackspace(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViBackspace
public int getViBackspace()
setViScrollOff
public void setViScrollOff(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViScrollOff
public int getViScrollOff()
setViShiftWidth
public void setViShiftWidth(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViShiftWidth
public int getViShiftWidth()
setViTabStop
public void setViTabStop(int arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViTabStop
public int getViTabStop()
setViReadOnlyHack
public void setViReadOnlyHack(boolean arg)
getViReadOnlyHack
public boolean getViReadOnlyHack()
setViClassicUndo
public void setViClassicUndo(boolean arg)
getViClassicUndo
public boolean getViClassicUndo()
setViDbgMouse
public void setViDbgMouse(boolean arg)
getViDbgMouse
public boolean getViDbgMouse()
setViDbgKeyStrokes
public void setViDbgKeyStrokes(boolean arg)
getViDbgKeyStrokes
public boolean getViDbgKeyStrokes()
setViDbgCache
public void setViDbgCache(boolean arg)
getViDbgCache
public boolean getViDbgCache()
setViDbgBang
public void setViDbgBang(boolean arg)
getViDbgBang
public boolean getViDbgBang()
setViDbgBangData
public void setViDbgBangData(boolean arg)
getViDbgBangData
public boolean getViDbgBangData()
setViDbgEditorActivation
public void setViDbgEditorActivation(boolean arg)
getViDbgEditorActivation
public boolean getViDbgEditorActivation()
setViDbgCompletion
public void setViDbgCompletion(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViDbgCompletion
public boolean getViDbgCompletion()
setViDbgRedo
public void setViDbgRedo(boolean arg)
throws PropertyVetoException
- Throws:
PropertyVetoException
getViDbgRedo
public boolean getViDbgRedo()