ucar.unidata.idv
Class JythonManager.LibHolder

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

public static class JythonManager.LibHolder
extends Object

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
 boolean find(String what, boolean highlightAll, boolean doCase, boolean next)
          _more_
 List getFunctions()
          Parse the functions if needed
 String getName()
          name
 String getText()
          Get text
 boolean isEditable()
          Is this lib editable
 void removeHighlights()
          _more_
 void resetToCurrentSearchIndex()
          _more_
 void setSearchIndex(Point pt)
          _more_
 void setText(String text)
          Set text
 void setText(String text, boolean andEnable)
          Set text
 
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 - _more_
jythonManager - _more_
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

setSearchIndex

public void setSearchIndex(Point pt)
_more_

Parameters:
pt - _more_

removeHighlights

public void removeHighlights()
_more_


resetToCurrentSearchIndex

public void resetToCurrentSearchIndex()
_more_


find

public boolean find(String what,
                    boolean highlightAll,
                    boolean doCase,
                    boolean next)
_more_

Parameters:
what - _more_
highlightAll - _more_
doCase - _more_
next - _more_
Returns:
_more_

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