|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.editor.Registry
public class Registry
All the documents and components register here so that they become available to the processing that crosses different components and documents such as cross document position stack or word matching.
Constructor Summary | |
---|---|
Registry()
Deprecated. |
Method Summary | |
---|---|
static void |
activate(BaseDocument doc)
Deprecated. Put the document to the first position in the array of last accessed documents. |
static void |
activate(JTextComponent c)
Deprecated. Put the component to the first position in the array of last accessed components. |
static void |
addChangeListener(ChangeListener l)
Deprecated. Add weak listener to listen to change of activity of documents or components. |
static int |
addComponent(JTextComponent c)
Deprecated. Add component to registry. |
static int |
addDocument(BaseDocument doc)
Deprecated. Add document to registry. |
static JTextComponent |
getComponent(int compID)
Deprecated. Get component when its ID is known. |
static Iterator |
getComponentIterator()
Deprecated. Get the iterator over the active components. |
static BaseDocument |
getDocument(int docID)
Deprecated. Get document when its ID is known. |
static Iterator |
getDocumentIterator()
Deprecated. Get the iterator over the active documents. |
static int |
getID(BaseDocument doc)
Deprecated. Get document ID from the document. |
static int |
getID(JTextComponent c)
Deprecated. Get component ID from the component. |
static JTextComponent |
getLeastActiveComponent()
Deprecated. |
static BaseDocument |
getLeastActiveDocument()
Deprecated. |
static JTextComponent |
getLessActiveComponent(int compID)
Deprecated. |
static JTextComponent |
getLessActiveComponent(JTextComponent c)
Deprecated. |
static BaseDocument |
getLessActiveDocument(BaseDocument doc)
Deprecated. |
static BaseDocument |
getLessActiveDocument(int docID)
Deprecated. |
static JTextComponent |
getMoreActiveComponent(int compID)
Deprecated. |
static JTextComponent |
getMoreActiveComponent(JTextComponent c)
Deprecated. |
static BaseDocument |
getMoreActiveDocument(BaseDocument doc)
Deprecated. |
static BaseDocument |
getMoreActiveDocument(int docID)
Deprecated. |
static JTextComponent |
getMostActiveComponent()
Deprecated. |
static BaseDocument |
getMostActiveDocument()
Deprecated. |
static String |
registryToString()
Deprecated. Debug the registry into string. |
static void |
removeChangeListener(ChangeListener l)
Deprecated. Remove listener for changes in activity. |
static int |
removeComponent(JTextComponent c)
Deprecated. Remove component from registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Registry()
Method Detail |
---|
public static void addChangeListener(ChangeListener l)
l
- listener to addpublic static void removeChangeListener(ChangeListener l)
l
- listener to removepublic static int getID(BaseDocument doc)
addDocument()
.public static int getID(JTextComponent c)
addComponent()
.public static BaseDocument getDocument(int docID)
docID
- document ID. It can be retrieved from the document
by getID(doc)
.
public static JTextComponent getComponent(int compID)
compID
- component ID. It can be retrieved from the component
by getID(c)
.
public static int addDocument(BaseDocument doc)
public static int addComponent(JTextComponent c)
public static int removeComponent(JTextComponent c)
public static void activate(JTextComponent c)
public static void activate(BaseDocument doc)
doc
- document to be activatedpublic static BaseDocument getMostActiveDocument()
public static BaseDocument getLeastActiveDocument()
public static BaseDocument getLessActiveDocument(BaseDocument doc)
public static BaseDocument getLessActiveDocument(int docID)
public static BaseDocument getMoreActiveDocument(BaseDocument doc)
public static BaseDocument getMoreActiveDocument(int docID)
public static Iterator getDocumentIterator()
public static JTextComponent getMostActiveComponent()
public static JTextComponent getLeastActiveComponent()
public static JTextComponent getLessActiveComponent(JTextComponent c)
public static JTextComponent getLessActiveComponent(int compID)
public static JTextComponent getMoreActiveComponent(JTextComponent c)
public static JTextComponent getMoreActiveComponent(int compID)
public static Iterator getComponentIterator()
public static String registryToString()
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |