public class JObjectChooser extends Object implements Property.ValueChangeNotifier
Constructor and Description |
---|
JObjectChooser(ParseSession session,
Class<?> type,
boolean showFields)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(Property.ValueChangeListener listener) |
void |
addValueChangeListener(Property.ValueChangeListener listener) |
JClass<?> |
getJClass()
Get the
JClass corresponding to the currently selected type, if any. |
ExprQueryJObjectContainer |
getJObjectContainer()
Get the object container for this instance.
|
HorizontalSplitPanel |
getObjectPanel()
Get the component containing the type chooser and object panel.
|
ObjId |
getObjId()
Get the currently selected object, if any.
|
ParseSession |
getParseSession()
Get the
ParseSession used by this instance. |
FormLayout |
getShowForm()
Get the form with the sort chooser and expression text area.
|
Class<?> |
getType()
Get the current type restriction, if any.
|
TypeTable |
getTypeTable()
Get the type table.
|
void |
removeListener(Property.ValueChangeListener listener) |
void |
removeValueChangeListener(Property.ValueChangeListener listener) |
protected final Logger log
public JObjectChooser(ParseSession session, Class<?> type, boolean showFields)
session
- session for evaluating expressionstype
- type restriction, or null for noneshowFields
- true to show all object fields, false for just reference labelpublic ParseSession getParseSession()
ParseSession
used by this instance.ParseSession
public ExprQueryJObjectContainer getJObjectContainer()
public Class<?> getType()
public TypeTable getTypeTable()
public HorizontalSplitPanel getObjectPanel()
public ObjId getObjId()
public FormLayout getShowForm()
public JClass<?> getJClass()
JClass
corresponding to the currently selected type, if any.public void addValueChangeListener(Property.ValueChangeListener listener)
addValueChangeListener
in interface Property.ValueChangeNotifier
public void removeValueChangeListener(Property.ValueChangeListener listener)
removeValueChangeListener
in interface Property.ValueChangeNotifier
public void addListener(Property.ValueChangeListener listener)
addListener
in interface Property.ValueChangeNotifier
public void removeListener(Property.ValueChangeListener listener)
removeListener
in interface Property.ValueChangeNotifier
Copyright © 2022. All rights reserved.