Package VASSAL.tools.menu
Class AbstractProxy<T extends JComponent>
java.lang.Object
VASSAL.tools.menu.AbstractProxy<T>
- All Implemented Interfaces:
ChildProxy<T>
- Direct Known Subclasses:
AbstractParent
,CheckBoxMenuItemProxy
,MenuItemProxy
,SeparatorProxy
- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
Modifier and TypeFieldDescriptionprotected ParentProxy
protected final List
<WeakReference<T>> protected final ReferenceQueue
<T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
protected void
forEachPeer
(VASSAL.tools.menu.Functor<T> functor) protected void
void
setParent
(ParentProxy parent)
-
Field Details
-
peers
-
queue
-
parent
-
-
Constructor Details
-
AbstractProxy
public AbstractProxy()
-
-
Method Details
-
processQueue
protected void processQueue() -
getParent
- Specified by:
getParent
in interfaceChildProxy<T extends JComponent>
-
createPeer
- Specified by:
createPeer
in interfaceChildProxy<T extends JComponent>
-