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 |
hyperlinkUpdate
isValid
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine
public MediaObjectLAF(MediaObject control, Renderer render)
control
- the MediaObject
which to modelpublic JComponent getNewComponent()
MediaObjectModel
JComponent
returned is a JLabel
. in future versions
it may accommodate other components for videos, audio and other media
files.getNewComponent
in class MediaObjectModel
JComponent
initialised with the model's information,public void update()
MediaObjectModel
JLabel
update
in class MediaObjectModel
Copyright © 2018 universAAL Consortium. All rights reserved.