ucar.unidata.idv
Class JythonManager.LibHolder

java.lang.Object
  extended by ucar.unidata.ui.TextSearcher.TextWrapper
      extended by ucar.unidata.idv.JythonManager.LibHolder
Enclosing class:
JythonManager

public static class JythonManager.LibHolder
extends TextSearcher.TextWrapper

Class LibHolder holds all things for a single lib

Version:
$Revision: 1.3 $
Author:
IDV Development Team

Constructor Summary
JythonManager.LibHolder(boolean editable, JythonManager jythonManager, String label, ucar.unidata.idv.JythonManager.MyPythonEditor editor, String filePath, JComponent wrapper)
          ctor
 
Method Summary
 void copy()
          copy
 List getFunctions()
          Parse the functions if needed
 String getName()
          name
 String getText()
          Get text
 boolean isEditable()
          Is this lib editable
 void setText(String text)
          Set text
 void setText(String text, boolean andEnable)
          Set text
 
Methods inherited from class ucar.unidata.ui.TextSearcher.TextWrapper
find, getTextComponent, removeHighlights, resetToCurrentSearchIndex, setSearchIndex, setTextComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JythonManager.LibHolder

public JythonManager.LibHolder(boolean editable,
                               JythonManager jythonManager,
                               String label,
                               ucar.unidata.idv.JythonManager.MyPythonEditor editor,
                               String filePath,
                               JComponent wrapper)
ctor

Parameters:
editable - am I editable
jythonManager - the jytyon manager
label - lable
editor - editor
filePath - lib file
wrapper - wrapper
Method Detail

getName

public String getName()
name

Returns:
name

getFunctions

public List getFunctions()
Parse the functions if needed

Returns:
functions

isEditable

public boolean isEditable()
Is this lib editable

Returns:
is editable

getText

public String getText()
Get text

Returns:
text

setText

public void setText(String text)
Set text

Parameters:
text - text

setText

public void setText(String text,
                    boolean andEnable)
Set text

Parameters:
text - text
andEnable - enable

copy

public void copy()
copy