org.eml.MMAX2.gui.display
Class MarkableLevelRenderer
java.lang.Object
org.eml.MMAX2.gui.display.MarkableLevelRenderer
public class MarkableLevelRenderer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkableLevelRenderer
public MarkableLevelRenderer(MarkableLevel _level,
java.lang.String _customizationFileName)
- Creates new MarkableLayerRenderer
destroyDependentComponents
public final void destroyDependentComponents()
getCustomizationCount
public final int getCustomizationCount()
updateSimpleMarkableCustomizations
public final void updateSimpleMarkableCustomizations(boolean status)
getHandleColor
public final java.awt.Color getHandleColor()
render
public final void render(Markable markable,
int mode)
removeHandlesAtDisplayPositions
public final void removeHandlesAtDisplayPositions(java.lang.Integer[] positions)
getAttributesForMarkable
public final javax.swing.text.SimpleAttributeSet getAttributesForMarkable(Markable _markable)
- This method returns a SimpleAttributeSet with the attributes that Markable _markable has depending on
its attributes. The method uses a (potentially empty) set of SimpleMarkableCustomization objects.
mergeAttributes
public static final javax.swing.text.SimpleAttributeSet mergeAttributes(javax.swing.text.SimpleAttributeSet superiorSet,
javax.swing.text.SimpleAttributeSet inferiorSet)
setHandleColor
public final void setHandleColor(java.awt.Color _color)
setBackgroundColor
public final void setBackgroundColor(java.awt.Color _color)
getBackgroundColor
public final java.awt.Color getBackgroundColor()
setForegroundColor
public final void setForegroundColor(java.awt.Color _color)
getForegroundColor
public final java.awt.Color getForegroundColor()
getForegroundIsTransparent
public final boolean getForegroundIsTransparent()
getBackgroundIsTransparent
public final boolean getBackgroundIsTransparent()
getIsBold
public final boolean getIsBold()
setIsBold
public final void setIsBold(boolean status)
getIsItalic
public final boolean getIsItalic()
setIsItalic
public final void setIsItalic(boolean status)
getIsUnderline
public final boolean getIsUnderline()
setIsUnderline
public final void setIsUnderline(boolean status)
getIsSubscript
public final boolean getIsSubscript()
setIsSubscript
public final void setIsSubscript(boolean status)
getIsSuperscript
public final boolean getIsSuperscript()
setIsSuperscript
public final void setIsSuperscript(boolean status)
getIsStrikethrough
public final boolean getIsStrikethrough()
setIsStrikethrough
public final void setIsStrikethrough(boolean status)