| 
|   | RelationsRenderer (final Graphics g, final RelationOrderedFilter relationFilter, final RelationPalette relationPalette, final HotSpots hotSpots, final boolean tagBarFlag) | 
|   | 
| Color  | getBackColor () | 
|   | 
| int  | layout (final Document document, final JTextComponent textComponent, final int padWidth, final int padTopOffset, final int padHeight, final int lineHeight)  throws BadLocationException 	 | 
|   | 
|   | BoxRenderer (final Graphics g, final HotSpots hotSpots, final boolean tagFlag) | 
|   | 
| Context  | getContext () | 
|   | 
| void  | paint (final Graphics g) | 
|   | 
| int  | getTopOffset () | 
|   | 
| int  | getHeight () | 
|   | 
 | 
| Drawable  | makeDrawable (final Rectangle barRectangle, final Paint backgroundColor, final String tag, final int slot, final boolean hasPreviousFlag, final boolean hasNextFlag, final int headOffset, final ISource source) | 
|   | 
| void  | makeDrawable (final List< Segment > segments, final Segment headSegment, final String tag, final Paint color, final int slot, final int padTopOffset, final int lineHeight, final ISource source, final JTextComponent textComponent)  throws BadLocationException 	 | 
|   | 
| int  | computeBoxHeight (final int slotCount, final int padHeight) | 
|   | 
| int  | getDefaultHeight () | 
|   | 
| void  | setHotSpots () | 
|   | 
◆ RelationsRenderer()
      
        
          | grammarscope.browser.renderer.RelationsRenderer.RelationsRenderer  | 
          ( | 
          final Graphics  | 
          g,  | 
        
        
           | 
           | 
          final RelationOrderedFilter  | 
          relationFilter,  | 
        
        
           | 
           | 
          final RelationPalette  | 
          relationPalette,  | 
        
        
           | 
           | 
          final HotSpots  | 
          hotSpots,  | 
        
        
           | 
           | 
          final boolean  | 
          tagBarFlag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor
- Parameters
 - 
  
    | g | graphics  | 
    | relationFilter | relation filter  | 
    | relationPalette | relation palette  | 
    | hotSpots | hotspots  | 
    | tagBarFlag | whether to tag bars  | 
  
   
 
 
◆ getBackColor()
      
        
          | Color grammarscope.browser.renderer.RelationsRenderer.getBackColor  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ layout()
      
        
          | int grammarscope.browser.renderer.RelationsRenderer.layout  | 
          ( | 
          final Document  | 
          document,  | 
        
        
           | 
           | 
          final JTextComponent  | 
          textComponent,  | 
        
        
           | 
           | 
          final int  | 
          padWidth,  | 
        
        
           | 
           | 
          final int  | 
          padTopOffset,  | 
        
        
           | 
           | 
          final int  | 
          padHeight,  | 
        
        
           | 
           | 
          final int  | 
          lineHeight  | 
        
        
           | 
          ) | 
           |  throws BadLocationException | 
        
      
 
Layout
- Parameters
 - 
  
    | document | document  | 
    | textComponent | text component  | 
    | padWidth | annotation pad width  | 
    | padTopOffset | annotation pad top offset  | 
    | padHeight | annotation pad height  | 
    | lineHeight | text line height  | 
  
   
- Returns
 - used pad height 
 
- Exceptions
 - 
  
    | BadLocationException | exception  | 
  
   
Reimplemented from grammarscope.browser.renderer.BoxRenderer.
 
 
◆ makeDrawable()
  
  
      
        
          | Drawable grammarscope.browser.renderer.RelationsRenderer.makeDrawable  | 
          ( | 
          final Rectangle  | 
          boxRectangle,  | 
         
        
           | 
           | 
          final Paint  | 
          backgroundColor,  | 
         
        
           | 
           | 
          final String  | 
          tag,  | 
         
        
           | 
           | 
          final int  | 
          slot,  | 
         
        
           | 
           | 
          final boolean  | 
          hasPreviousFlag,  | 
         
        
           | 
           | 
          final boolean  | 
          hasNextFlag,  | 
         
        
           | 
           | 
          final int  | 
          headOffset,  | 
         
        
           | 
           | 
          final ISource  | 
          source  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
Make drawable
- Parameters
 - 
  
    | boxRectangle | drawable height  | 
    | backgroundColor | drawable background color  | 
    | tag | drawable tag  | 
    | slot | drawable's allocated slot  | 
    | hasPreviousFlag | whether this drawable continues previous line  | 
    | hasNextFlag | whether this drawable is continued on next line  | 
    | headOffset | head x offset (from left) if any  | 
    | source | source object  | 
  
   
- Returns
 - drawable 
 
Reimplemented from grammarscope.browser.renderer.BoxRenderer.
 
 
◆ setBackColor()
  
  
      
        
          | static void grammarscope.browser.renderer.RelationsRenderer.setBackColor  | 
          ( | 
          final Color  | 
          color | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Set fore color
- Parameters
 - 
  
  
 
 
 
◆ setBorderColor()
  
  
      
        
          | static void grammarscope.browser.renderer.RelationsRenderer.setBorderColor  | 
          ( | 
          final Color  | 
          color | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Set border color
- Parameters
 - 
  
  
 
 
 
◆ setForeColor()
  
  
      
        
          | static void grammarscope.browser.renderer.RelationsRenderer.setForeColor  | 
          ( | 
          final Color  | 
          color | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Set fore color
- Parameters
 - 
  
  
 
 
 
◆ backColor
◆ borderColor
  
  
      
        
          | Color grammarscope.browser.renderer.RelationsRenderer.borderColor = DEFAULT_FORECOLOR | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ DEFAULT_BACKCOLOR
  
  
      
        
          | final Color grammarscope.browser.renderer.RelationsRenderer.DEFAULT_BACKCOLOR = new Color(0xB7, 0xCC, 0xDF, RenderMode.ALPHA) | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ DEFAULT_BORDERCOLOR
  
  
      
        
          | final Color grammarscope.browser.renderer.RelationsRenderer.DEFAULT_BORDERCOLOR = Color.DARK_GRAY | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ DEFAULT_FORECOLOR
  
  
      
        
          | final Color grammarscope.browser.renderer.RelationsRenderer.DEFAULT_FORECOLOR = Color.DARK_GRAY | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ foreColor
◆ MIN_PAD_HEIGHT
  
  
      
        
          | final int grammarscope.browser.renderer.RelationsRenderer.MIN_PAD_HEIGHT = 25 | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ relationFilter
◆ relationPalette
  
  
      
        
          | final RelationPalette grammarscope.browser.renderer.RelationsRenderer.relationPalette | 
         
       
   | 
  
package   | 
  
 
 
The documentation for this class was generated from the following file: