36 lines
927 B
Java
36 lines
927 B
Java
package com.tridium.ui.theme;
|
|
|
|
import javax.baja.gx.BBrush;
|
|
import javax.baja.gx.BFont;
|
|
import javax.baja.gx.BInsets;
|
|
import javax.baja.gx.Graphics;
|
|
import javax.baja.ui.BWidget;
|
|
|
|
public interface TreeTheme extends WidgetTheme {
|
|
public static final int COLLAPSED = 2;
|
|
public static final int EMPTY = 0;
|
|
public static final int EXPANDED = 1;
|
|
|
|
BBrush getBackground(BWidget bWidget);
|
|
|
|
BBrush getConnectingBrush(BWidget bWidget);
|
|
|
|
double getExpanderHeight();
|
|
|
|
double getExpanderWidth();
|
|
|
|
BFont getFont(BWidget bWidget);
|
|
|
|
BBrush getForeground(BWidget bWidget);
|
|
|
|
BInsets getInsets();
|
|
|
|
BInsets getInsets(BWidget bWidget);
|
|
|
|
boolean inExpander(double d, double d2, double d3, double d4);
|
|
|
|
void paintExpander(Graphics graphics, BWidget bWidget, double d, double d2, boolean z);
|
|
|
|
void paintExpander(Graphics graphics, BWidget bWidget, double d, double d2, boolean z, boolean z2);
|
|
}
|