|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsferyx.administration.renderers.adapters.GenericTagAdapter
sferyx.administration.renderers.adapters.CustomTagAdapter
public class CustomTagAdapter
This is the adapter attached to each custom tag. It handles all actions and also provides the write methods for generating the final output from the tag
Field Summary |
---|
Fields inherited from class sferyx.administration.renderers.adapters.GenericTagAdapter |
---|
visualRepresentationComponent |
Constructor Summary | |
---|---|
CustomTagAdapter()
Creates a new instance of CustomTagAdapter |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent)
This method is supposed to be ovveridden in order to provide custom handling of actions over the component |
java.lang.String |
getCustomTagString()
This method returns the plain tag string extracted from the document when the page is loaded |
java.lang.String |
getGeneratedOutput()
This method is supposed to generate the final output when the page is saved |
java.awt.Component |
getVisualRepresentationComponent()
Returns the component used as visual representation inside the editor. |
boolean |
isReadOnly()
Indicates whether the component is contained within a readonly section or not |
void |
mouseClicked(java.awt.event.MouseEvent mouseEvent)
This method is supposed to be ovveridden in order to provide custom handling of events over the component |
void |
mouseEntered(java.awt.event.MouseEvent mouseEvent)
This method is supposed to be ovveridden in order to provide custom handling of events over the component |
void |
mouseExited(java.awt.event.MouseEvent mouseEvent)
This method is supposed to be ovveridden in order to provide custom handling of events over the component |
void |
mousePressed(java.awt.event.MouseEvent mouseEvent)
This method is supposed to be ovveridden in order to provide custom handling of events over the component |
void |
mouseReleased(java.awt.event.MouseEvent mouseEvent)
This method is supposed to be ovveridden in order to provide custom handling of events over the component |
void |
setCustomTagString(java.lang.String tagString)
This method sets the plain tag string extracted from the document when the page is loaded |
void |
setHTMLEditor(HTMLBrowser htmlEditor)
|
void |
setReusedVisualRepresentationComponent(java.awt.Component visualRepresentationComponent)
|
void |
setVisualRepresentationComponent(java.awt.Component visualRepresentationComponent)
This method is called automatically when the document is parsed and custom tags are found. |
Methods inherited from class sferyx.administration.renderers.adapters.GenericTagAdapter |
---|
getElement, setElement, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomTagAdapter()
Method Detail |
---|
public void setCustomTagString(java.lang.String tagString)
setCustomTagString
in class GenericTagAdapter
public java.lang.String getCustomTagString()
getCustomTagString
in class GenericTagAdapter
public java.lang.String getGeneratedOutput()
getGeneratedOutput
in class GenericTagAdapter
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
public java.awt.Component getVisualRepresentationComponent()
public void setReusedVisualRepresentationComponent(java.awt.Component visualRepresentationComponent)
setReusedVisualRepresentationComponent
in class GenericTagAdapter
public void setVisualRepresentationComponent(java.awt.Component visualRepresentationComponent)
setVisualRepresentationComponent
in class GenericTagAdapter
public void mouseClicked(java.awt.event.MouseEvent mouseEvent)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent mouseEvent)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent mouseEvent)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent mouseEvent)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent mouseEvent)
mouseReleased
in interface java.awt.event.MouseListener
public boolean isReadOnly()
GenericTagAdapter
isReadOnly
in class GenericTagAdapter
public void setHTMLEditor(HTMLBrowser htmlEditor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |