public class EventListIconPackage extends OMComponent
Modifier and Type | Field and Description |
---|---|
protected int |
buttonSize |
static java.lang.String |
ButtonSizeProperty |
protected javax.swing.ImageIcon |
clockImage |
protected javax.swing.ImageIcon |
invisibleImage |
protected boolean |
showPlayFilter |
static java.lang.String |
ShowPlayFilterProperty |
protected boolean |
showRatings |
static java.lang.String |
ShowRatingsProperty |
protected javax.swing.ImageIcon |
thumbsDownImage |
protected javax.swing.ImageIcon |
thumbsUpImage |
protected javax.swing.ImageIcon |
xImage |
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
EventListIconPackage() |
EventListIconPackage(int buttonSize) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JPanel |
createEventControlPanel(EventListPresenter elp)
Should only be called with a reference to a dedicated EventListPresenter
for this IconPackage.
|
int |
getButtonSize() |
java.util.Properties |
getProperties(java.util.Properties props)
PropertyConsumer method, to fill in a Properties object, reflecting the
current values of the OMComponent.
|
java.util.Properties |
getPropertyInfo(java.util.Properties props)
Method to fill in a Properties object with values reflecting the
properties able to be set on this PropertyConsumer.
|
protected void |
initIcons() |
boolean |
isShowPlayFilter() |
boolean |
isShowRatings() |
void |
setButtonSize(int buttonSize) |
void |
setProperties(java.lang.String prefix,
java.util.Properties props)
Sets the properties for the OMComponent.
|
void |
setShowPlayFilter(boolean showPlayFilter) |
void |
setShowRatings(boolean showRatings) |
getPropertyPrefix, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
protected int buttonSize
protected javax.swing.ImageIcon xImage
protected javax.swing.ImageIcon clockImage
protected javax.swing.ImageIcon thumbsUpImage
protected javax.swing.ImageIcon thumbsDownImage
protected javax.swing.ImageIcon invisibleImage
public static final java.lang.String ShowRatingsProperty
public static final java.lang.String ShowPlayFilterProperty
public static final java.lang.String ButtonSizeProperty
protected boolean showRatings
protected boolean showPlayFilter
public EventListIconPackage()
public EventListIconPackage(int buttonSize)
public int getButtonSize()
public void setButtonSize(int buttonSize)
public boolean isShowRatings()
public void setShowRatings(boolean showRatings)
public boolean isShowPlayFilter()
public void setShowPlayFilter(boolean showPlayFilter)
public void setProperties(java.lang.String prefix, java.util.Properties props)
OMComponent
setProperties
in interface PropertyConsumer
setProperties
in class OMComponent
prefix
- the token to prefix the property namesprops
- the Properties
objectpublic java.util.Properties getProperties(java.util.Properties props)
OMComponent
getProperties
in interface PropertyConsumer
getProperties
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If props equals null, then a new Properties object should be
created.public java.util.Properties getPropertyInfo(java.util.Properties props)
OMComponent
getPropertyInfo
in interface PropertyConsumer
getPropertyInfo
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If getList equals null, then a new Properties object should
be created.protected void initIcons()
protected javax.swing.JPanel createEventControlPanel(EventListPresenter elp)
elp
- EventListPresenter supplying eventsCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details