public class MediaObjectLAF extends MediaObjectModel
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
MediaObjectLAF(MediaObject control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JComponent |
getNewComponent()
The
JComponent returned is a JLabel. |
void |
update()
Updating the
JLabel |
hyperlinkUpdateisValidcorrespondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLinepublic MediaObjectLAF(MediaObject control, Renderer render)
control - the MediaObject which to modelpublic JComponent getNewComponent()
JComponent returned is a JLabel. in future versions
it may accommodate other components for videos, audio and other media
files.getNewComponent in class MediaObjectModelJComponent initialised with the model's information,public void update()
JLabelupdate in class MediaObjectModelCopyright © 2018 universAAL Consortium. All rights reserved.